Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 01:37:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 217560] FAT32 - Time stamp of file is one hour off
Message-ID:  <bug-217560-3630-01OE61bjwG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217560-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217560-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217560

Damjan Jovanovic <damjan.jov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov@gmail.com

--- Comment #4 from Damjan Jovanovic <damjan.jov@gmail.com> ---
There is definitely some timestamp bug here. In my UTC+2 timezone:

$ date=20=20
Sun Apr 29 03:23:58 SAST 2018
$ touch bsd-201804290323.txt
$ stat -x bsd-201804290323.txt=20
  File: "bsd-201804290323.txt"
  Size: 0            FileType: Regular File
  Mode: (0755/-rwxr-xr-x)         Uid: ( 1002/   user)  Gid: (    0/   whee=
l)
Device: 0,139   Inode: 59620    Links: 1
Access: Sun Apr 29 02:00:00 2018
Modify: Sun Apr 29 05:23:58 2018
Change: Sun Apr 29 05:23:58 2018

Windows shows the correct modified/changed times of 03:23. Why is FreeBSD
adding my time zone offset (2 hours) to the times when stat reads them, even
though they are already in local time?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217560-3630-01OE61bjwG>