Return native "Date" object with specific timezone (e.g. new DateTimezones('Australia/Sydney'))
// npm
npm install date-timezones
// Bower
bower install date-timezones
// then see this example file
// https://github.com/jojoee/date-timezones/blob/master/index.html
// Tue Feb 28 2017 00:20:47 GMT+0700 (SE Asia Standard Time)
var local = DateTimezones();
// Tue Feb 28 2017 00:20:47 GMT+0700 (SE Asia Standard Time)
var bangkok = DateTimezones('Asia/Bangkok');
// Tue Feb 28 2017 01:20:47 GMT+0700 (SE Asia Standard Time)
var shanghai = DateTimezones('Asia/Shanghai');
// Mon Feb 27 2017 17:20:47 GMT+0700 (SE Asia Standard Time)
var london = DateTimezones('Europe/London');
- Test
- Code coverage
- Demo page
- Screenshot
- Commit by
npm run commit
only - Increase code coverage percentage
- ESLint
- Automated scripts: auto update dependencies, cause it need to update DSL (Daylight Saving Time)
$ npm install -g semantic-release-cli
$ semantic-release-cli setup
Using above command to setup "semantic-release"