moment-timezone
moment-timezone copied to clipboard
next DST change date
Is it possible to receive the next date when dst of a specific zone will change?
I know that this is a bit old, but I, for one, would find this helpful as well. For the time being, we'd probably have to search through moment.tz.zone(zonename).untils to get the first number after the current timestamp in milliseconds, return the index, and then get that and the index before to decide which way it will go.
That sounds reasonable, maybe a method in the zone object, like nextOffsetChange(timestamp).