Skip to content

Date in entry slug is not UTC but local #278

@laril

Description

@laril

In my setup the posts ase saved using this slug:
slug: "{{year}}-{{month}}-{{day}}-{{hour}}-{{minute}}-{{second}}"

In Decap cms I get files which are using UTC timezone, but it seems that Sveltia is now using local timezone. This now causes for me other issues as the website code expects the times in urls to be specified in UTC.

I don't think I previously had the some problem even with Sveltia, so has something related to this changed in Sveltia?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions