Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#132 closed enhancement (fixed)

Make Lisp's (STATUS DATE) return 4-digit year

Reported by: ats@… Owned by: Eric Swenson
Priority: minor Milestone: MR12.7
Component: Unbundled Library Version: MR12.6f
Keywords: Cc:

Description

In the DB ITS project, we've just changed MACLISP's (STATUS DATE) to return a 4-digit rather than 2-digit year: https://github.com/PDP-10/its/pull/1102

(STATUS DATE) was originally a thin wrapper around ITS's .RDATE call, which returns year % 100. Many of the programs that used it had Y2K problems as a result. Changing this to return the full year number directly has generally simplified the code that uses it.

At present, Multics MACLISP returns year - 1900 from (STATUS DATE); the implementation of this is in lisp_status_fns_.pl1 in >ldd>unb>source>bound_lisp_intprtr_.1.s.archive. It might be worth considering making the same change in Multics.

Change History (3)

comment:2 by Eric Swenson, 8 years ago

Milestone: MR12.6g
Resolution: fixed
Status: newclosed

Fixed on GHM. Will be in MR12.6g.

comment:3 by Eric Swenson, 7 years ago

Milestone: MR12.6gMR12.7

Milestone renamed

Note: See TracTickets for help on using tickets.