update-time-on-edit-obsidian icon indicating copy to clipboard operation
update-time-on-edit-obsidian copied to clipboard

Can't Set it to display Zulu Time

Open JustAStudentOfTechnology opened this issue 2 years ago • 1 comments

I do not see an option to set time to show as Zulu.

Example: yyyy-MM-dd'T'HH:mm:ss'Z' is the format that <% moment().utc().format() %> provides the date in. If I try to interperit that all it will do is pull that date format and put in the current time zones time with Z at the end of it. I would like to modify this behavior to allow for setting a time zone display for something other than the current time zone.

This is a problem that'll affect just about every time-related feature in Obsidian and its plugins. I'm guessing the easiest is to somehow set the timezone in the environment of the Obsidian process to UTC. This will depend on your OS and on how you launch Obsidian.

huyz avatar Jun 29 '22 13:06 huyz