xRyul / obsidian-image-converter

⚡️ Convert and compress images from one format to another by drag'n'dropping or pasting files into the note.
MIT License
111 stars 11 forks source link

BUG: Timestamp is always UTC #29

Open blumenschwein opened 7 months ago

blumenschwein commented 7 months ago

When using auto rename, the timestamp of the pasted image is always set to UTC time, regardless the actual timezone of the computer. In my case (UTC + 2), there is always an offset of two hours.

I set up the system time using the following command in order to cope with dual boot (Ubuntu 22 and Windows 10):

timedatectl set-local-rtc 1

BTW, the timestamp of another plugin obsidian-paste-image-rename works properly.