{"id":18145074,"url":"https://github.com/matchachoco010/hexo-timezone-permalink","last_synced_at":"2025-04-06T20:22:02.442Z","repository":{"id":79776811,"uuid":"152583336","full_name":"MatchaChoco010/hexo-timezone-permalink","owner":"MatchaChoco010","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-11T12:05:05.000Z","size":833,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T02:26:37.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MatchaChoco010.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-11T11:50:24.000Z","updated_at":"2018-10-11T12:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3dcfa8c-c34e-4e93-bba2-5b2a60696796","html_url":"https://github.com/MatchaChoco010/hexo-timezone-permalink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fhexo-timezone-permalink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fhexo-timezone-permalink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fhexo-timezone-permalink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatchaChoco010%2Fhexo-timezone-permalink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatchaChoco010","download_url":"https://codeload.github.com/MatchaChoco010/hexo-timezone-permalink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247544346,"owners_count":20955987,"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":[],"created_at":"2024-11-01T20:07:17.795Z","updated_at":"2025-04-06T20:22:02.408Z","avatar_url":"https://github.com/MatchaChoco010.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"_config.yml is this:\n\n``` yaml _config.yml\n...\ntimezone: America/New_York\n...\npermalink: :year/:month/:day/:title/\n...\n```\n\nand `source/_posts/test.md` is this:\n\n``` yaml front_matter\n---\ntitle: test\ndate: 2018-10-11 23:00:00\ntags:\n---\n```\n\nThe permalink of this article should be `/2018/10/11/test/`.\nBut `hexo generate` in Japan, which +0900, `/2018/10/12/test/index.html` is generated.\n\n![screenshot](./screenshot0.png)\n\nThe article date is correct (2018/10/11).\n\n![screenshot](./screenshot1.png)\n\nChange the machine timezone to -0500 and `hexo generate`, `/2018/10/11/test.index.html` is generated.\n\nIt seems that the permalink is not generated correctly if the time zone of _config.yml and the time zone setting of the machine are incorrect.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fhexo-timezone-permalink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatchachoco010%2Fhexo-timezone-permalink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatchachoco010%2Fhexo-timezone-permalink/lists"}