Public bug reported:

Xubuntu 20.04 live CD


Steps to reproduce:

1) Edit > Preferences > Date > Format, pick the "yyyy-mm-dd hh:mm:ss"
option from the drop-down

2) Right-click any file (e.g. /usr/lib/chroot-setup.sh) > Properties.
Note the modified and accessed times.  Close the Properties dialog.

3) Back to Edit > Preferences, pick Custom date format.  Set to:

%e %b %Y, %k:%M:%S

4) right-click the same file again > Properties


Expected results:

Same dates/times should be displayed at (2) and (4), just in different
format.


Actual results:

At (4), the current date/time is displayed for Modified and Accessed.

Using stat in Terminal shows the times displayed with the preset option
are the correct ones.

If I A) replace %e with %d, AND B) replace %k with %H, so the custom
format becomes:

%d %b %Y, %H:%M:%S

Thunar does show correct dates/times with that custom format.  Replacing
only %e (keeping %k) results in Thunar showing correct date with
completely wrong time.


ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: thunar 1.8.14-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445
CurrentDesktop: XFCE
Date: Tue May 26 00:23:52 2020
LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: thunar
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: thunar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Description changed:

  Xubuntu 20.04 live CD
  
  
  Steps to reproduce:
  
  1) Edit > Preferences > Date > Format, pick the "yyyy-mm-dd hh:mm:ss"
  option from the drop-down
  
  2) Right-click any file (e.g. /usr/lib/chroot-setup.sh) > Properties.
  Note the modified and accessed times.  Close the Properties dialog.
  
  3) Back to Edit > Preferences, pick Custom date format.  Set to:
  
  %e %b %Y, %k:%M:%S
  
  4) right-click the same file again > Properties
  
  
  Expected results:
  
  Same dates/times should be displayed at (2) and (4), just in different
  format.
  
  
  Actual results:
  
  At (4), the current date/time is displayed for Modified and Accessed.
  
  Using stat in Terminal shows the times displayed with the preset option
  are the correct ones.
  
  If I A) replace %e with %d, AND B) replace %k with %H, so the custom
  format becomes:
  
  %d %b %Y, %H:%M:%S
  
  Thunar does show correct times with that custom format.  Replacing only
- %e (keeping %k) results in Thunar showing correct date with wrong time.
+ %e (keeping %k) results in Thunar showing correct date with completely
+ wrong time.
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: thunar 1.8.14-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.445
  CurrentDesktop: XFCE
  Date: Tue May 26 00:23:52 2020
  LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  SourcePackage: thunar
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  Xubuntu 20.04 live CD
  
  
  Steps to reproduce:
  
  1) Edit > Preferences > Date > Format, pick the "yyyy-mm-dd hh:mm:ss"
  option from the drop-down
  
  2) Right-click any file (e.g. /usr/lib/chroot-setup.sh) > Properties.
  Note the modified and accessed times.  Close the Properties dialog.
  
  3) Back to Edit > Preferences, pick Custom date format.  Set to:
  
  %e %b %Y, %k:%M:%S
  
  4) right-click the same file again > Properties
  
  
  Expected results:
  
  Same dates/times should be displayed at (2) and (4), just in different
  format.
  
  
  Actual results:
  
  At (4), the current date/time is displayed for Modified and Accessed.
  
  Using stat in Terminal shows the times displayed with the preset option
  are the correct ones.
  
  If I A) replace %e with %d, AND B) replace %k with %H, so the custom
  format becomes:
  
  %d %b %Y, %H:%M:%S
  
- Thunar does show correct times with that custom format.  Replacing only
- %e (keeping %k) results in Thunar showing correct date with completely
- wrong time.
+ Thunar does show correct dates/times with that custom format.  Replacing
+ only %e (keeping %k) results in Thunar showing correct date with wrong
+ time.
  
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: thunar 1.8.14-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.445
  CurrentDesktop: XFCE
  Date: Tue May 26 00:23:52 2020
  LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: thunar
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  Xubuntu 20.04 live CD
  
  
  Steps to reproduce:
  
  1) Edit > Preferences > Date > Format, pick the "yyyy-mm-dd hh:mm:ss"
  option from the drop-down
  
  2) Right-click any file (e.g. /usr/lib/chroot-setup.sh) > Properties.
  Note the modified and accessed times.  Close the Properties dialog.
  
  3) Back to Edit > Preferences, pick Custom date format.  Set to:
  
  %e %b %Y, %k:%M:%S
  
  4) right-click the same file again > Properties
  
  
  Expected results:
  
  Same dates/times should be displayed at (2) and (4), just in different
  format.
  
  
  Actual results:
  
  At (4), the current date/time is displayed for Modified and Accessed.
  
  Using stat in Terminal shows the times displayed with the preset option
  are the correct ones.
  
  If I A) replace %e with %d, AND B) replace %k with %H, so the custom
  format becomes:
  
  %d %b %Y, %H:%M:%S
  
  Thunar does show correct dates/times with that custom format.  Replacing
- only %e (keeping %k) results in Thunar showing correct date with wrong
- time.
+ only %e (keeping %k) results in Thunar showing correct date with
+ completely wrong time.
  
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: thunar 1.8.14-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
  Uname: Linux 5.4.0-26-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.445
  CurrentDesktop: XFCE
  Date: Tue May 26 00:23:52 2020
  LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: thunar
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880621

Title:
  Using %e or %k in custom date format result in Thunar displaying
  current time in place of file modified time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunar/+bug/1880621/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to