diff options
author | Eric Blake <eblake@redhat.com> | 2010-09-30 16:42:13 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-10-01 10:43:41 -0600 |
commit | 9069af45e691d1252c727da66aa4f3f3c7f1ea29 (patch) | |
tree | 09371cf730f26806f6a45703e3b4989afff0f439 /NEWS | |
parent | abe5c1f9bc09753fd79e7a121c8ecfa917dfaddb (diff) | |
download | coreutils-9069af45e691d1252c727da66aa4f3f3c7f1ea29.tar.xz |
stat: print timestamps to full resolution
* src/stat.c (epoch_time): New function.
(print_stat): Use it for %[WXYZ].
* NEWS: Document this.
* tests/touch/60-seconds: Adjust test to match.
* tests/misc/stat-birthtime: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -75,6 +75,11 @@ GNU coreutils NEWS -*- outline -*- merely accepted and ignored, for compatibility. Starting two years ago, with coreutils-7.0, its use evoked a warning. + stat now outputs the full sub-second resolution for the atime, + mtime, and ctime values since the Epoch, when using the %X, %Y, and + %Z directives of the --format option. This matches the fact that + %x, %y, and %z were already doing so for the human-readable variant. + touch's --file option is no longer recognized. Use --reference=F (-r) instead. --file has not been documented for 15 years, and its use has elicited a warning since coreutils-7.1. |