4 ms·
Ok you're test is failing in my timezone. But it is OK, as far I understand (still not 100% sure if I do) :-). But: moment('2015-25-10 2:00', 'YYYY-MM-DD HH:mm
by finchisko 11y ago
Ok you're test is failing in my timezone. But it is OK, as far I understand (still not 100% sure if I do) :-).
But:
moment('2015-25-10 2:00', 'YYYY-MM-DD HH:mm').isDST()
moment('2015-25-10 3:00', 'YYYY-MM-DD HH:mm').isDST()
return false.
That's not correct in my TZ. Confused.
- dangrossman 11y agoDST ends at 1:59AM. 2AM and 3AM are after DST ended, so it is correct for isDST to return false.