Permalink
cf9e6a1 Jan 3, 2016
15 lines (11 sloc) 307 Bytes
title version signature
Is Daylight Saving Time
1.2.0
moment().isDST();

moment#isDST checks if the current moment is in daylight saving time.

moment([2011, 2, 12]).isDST(); // false, March 12 2011 is not DST
moment([2011, 2, 14]).isDST(); // true, March 14 2011 is DST