1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 15:27:28 +00:00
PDP-10.its/doc/info/lispa.5
Adam Sampson aadfbe890a Make (STATUS DATE) return a four-digit year.
This is a change to the API, but existing users are already inconsistent
in how they handle 2-digit years -- some assume it's year % 100 (as the
documentation says), some assume it's year - 1900, and some
string-prepend "19" -- so most have Y2K problems that need fixing.

As it's now reading the date using two UUOs, it needs to be careful to
check that the year hasn't rolled over between the two, as LIBDOC; TIME
does for the day.

I've updated all four implementations of SDATE, but only tested the ITS
version.
2018-07-27 23:36:38 +01:00

202 KiB
Executable File