From 9cb352eb2dc528043a85cb30b54ba7a0e45c210f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Nov 2025 05:18:55 -0500 Subject: Show 4-digit year with unalf -v. --- src/alf.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'src/alf.rst') diff --git a/src/alf.rst b/src/alf.rst index 59dc2af..4bf2c6c 100644 --- a/src/alf.rst +++ b/src/alf.rst @@ -182,11 +182,19 @@ actually use this with. Timestamps ---------- -The date/time stamps stored in the archive are the **mtime**\s of -the files (which is the same time **ls**\(1) shows, by default), and -your local timezone is assumed. Only a 2-digit year is displayed by -**unalf**, but the year stored in the *ALF* file doesn't have a Y2K -problem. It does, however, have a Y2108 problem... +The date/time stamps stored in the archive are the **mtime**\s of the +files (which is the same time **ls**\(1) shows, by default), and your +local timezone is assumed (but see the **-td**\, **-tu**\, **-tz** +options above). There's no way to store timezone or daylight savings +info in the *ALF* file. + +The year stored in the *ALF* file doesn't have a Y2K problem. It does, +however, have a Y2108 problem: the range is from 1980 to 2107. + +The timestamp only has 2-second resolution. Files with odd-numbered +seconds in the *mtime* will have the number before that (1 => 0, 31 => +30, etc). This is a limitation of the *ALF* file format. Also of the +*ARC* format (I didn't know that, did you?) COPYRIGHT ========= -- cgit v1.2.3