Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / 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