{"id":18709094,"url":"https://github.com/jojoee/date-timezones","last_synced_at":"2025-10-23T20:38:05.045Z","repository":{"id":58240246,"uuid":"83325453","full_name":"jojoee/date-timezones","owner":"jojoee","description":":date: Return native \"Date\" object with specific timezone (e.g. new DateTimezones('Australia/Sydney'))","archived":false,"fork":false,"pushed_at":"2018-12-18T09:40:10.000Z","size":13,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T01:07:20.047Z","etag":null,"topics":["date","time","timezone","zone"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jojoee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-27T15:27:51.000Z","updated_at":"2021-11-08T10:16:12.000Z","dependencies_parsed_at":"2022-08-31T03:01:54.538Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/date-timezones","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fdate-timezones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fdate-timezones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fdate-timezones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fdate-timezones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/date-timezones/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248553835,"owners_count":21123528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["date","time","timezone","zone"],"created_at":"2024-11-07T12:26:16.072Z","updated_at":"2025-10-23T20:37:59.993Z","avatar_url":"https://github.com/jojoee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# date-timezones\n\n[![Travis](https://img.shields.io/travis/jojoee/date-timezones.svg)](https://travis-ci.org/jojoee/date-timezones)\n[![Codecov](https://img.shields.io/codecov/c/github/jojoee/date-timezones.svg)](https://codecov.io/github/jojoee/date-timezones)\n[![Version - npm](https://img.shields.io/npm/v/date-timezones.svg)](https://www.npmjs.com/package/date-timezones)\n[![Version - Bower](https://img.shields.io/bower/v/date-timezones.svg)](https://bower.io/search/?q=date-timezones)\n[![License - npm](https://img.shields.io/npm/l/date-timezones.svg)](http://opensource.org/licenses/MIT)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n\nReturn native \"Date\" object with specific timezone (e.g. new DateTimezones('Australia/Sydney'))\n\n## Installation\n\n```\n// npm\nnpm install date-timezones\n\n// Bower\nbower install date-timezones\n// then see this example file\n// https://github.com/jojoee/date-timezones/blob/master/index.html\n```\n\n## Example usage\n\n```javascript\n// Tue Feb 28 2017 00:20:47 GMT+0700 (SE Asia Standard Time)\nvar local = DateTimezones();\n\n// Tue Feb 28 2017 00:20:47 GMT+0700 (SE Asia Standard Time)\nvar bangkok = DateTimezones('Asia/Bangkok');\n\n// Tue Feb 28 2017 01:20:47 GMT+0700 (SE Asia Standard Time)\nvar shanghai = DateTimezones('Asia/Shanghai');\n\n// Mon Feb 27 2017 17:20:47 GMT+0700 (SE Asia Standard Time)\nvar london = DateTimezones('Europe/London');\n```\n\n## Future update\n- [x] Test\n- [x] Code coverage\n- [ ] Demo page\n- [ ] Screenshot\n- [x] Commit by `npm run commit` only\n- [ ] Increase code coverage percentage\n- [x] ESLint\n- [ ] Automated scripts: auto update dependencies, cause it need to update DSL (Daylight Saving Time)\n\n## Contribute for owner\n\n```\n$ npm install -g semantic-release-cli\n$ semantic-release-cli setup\n\nUsing above command to setup \"semantic-release\"\n```\n\n## Reference\n- [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)\n- [The World Clock](https://www.timeanddate.com/worldclock/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fdate-timezones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fdate-timezones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fdate-timezones/lists"}