Files: e9d9dec1d00ff365112ca0f981bbda15e3682528 / test / test-79-npm / moment-timezone / moment-timezone.js
200 bytesRaw
1 | ; |
2 | |
3 | var moment = require('moment-timezone'); |
4 | var june = moment('2014-06-01T12:00:00Z'); |
5 | var s = june.tz('America/Los_Angeles').format('ha z'); |
6 | if (s === '5am PDT') { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web