Skip to content Skip to sidebar Skip to footer

Do Filesystems Store Time Zone Information?

Do filesystems store time zone information along with the file information? I ran into a weird bug where I do the following snippet and I get different time zone printed out. impor

Solution 1:

I'm not aware of any file system that store timezone information with their timestamps. Depending on the file system / operating system it's either stored in UTC, or in the local time.

Zope's DateTime will use your local timezone unless you specify something else.

US/Estern is GMT -4 during daylight savings, so this is probably correct.

Post a Comment for "Do Filesystems Store Time Zone Information?"