Sha256: 9cbb40a16009a77cb8f0434f24c7e0870d0f951890c7e9bda0f81c88f6dd85a6

Contents?: true

Size: 165 Bytes

Versions: 27

Compression:

Stored size: 165 Bytes

Contents

import moment from '../../moment';

export function isNearSpringDST() {
    return moment().subtract(1, 'day').utcOffset() !== moment().add(1, 'day').utcOffset();
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
card-1.100.0 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.6 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.5 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.4 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.3 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.2 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.1 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.99.0 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.98.3 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.98.2 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.98.1 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.98.0 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.97.0.1 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.97.0 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.8 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.7 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.6 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.5 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.4 mod/date/vendor/moment/src/test/helpers/dst.js
card-1.96.3 mod/date/vendor/moment/src/test/helpers/dst.js