;;; -*- Mode:Lisp; Readtable:ZL; Package:USER; Base:10; Patch-File:T -*- ;;; Patch file for System version 126.132 ;;; Reason: ;;; Correct the compiler::patch-defining-file property for TIME:PRINT-DATE-ONLY... ;;; Written 25-Oct-88 16:20:07 by saz (David M.J. Saslav) at site Gigamos Cambridge ;;; while running on Wolfgang Amadeus Mozart from band 2 ;;; with Experimental System 126.131, Experimental ZWEI 126.25, Experimental ZMail 74.13, Experimental Local-File 76.0, Experimental File-Server 25.0, Experimental Lambda-Diag 18.0, Experimental Unix-Interface 15.0, Experimental Tape 26.4, Microcode 1762, SDU Boot Tape 3.14, SDU ROM 8, 126.100 104. ; From modified file DJ: L.IO1; TIME.LISP#143 at 25-Oct-88 16:20:08 #10R TIME#: (COMPILER-LET ((*PACKAGE* (PKG-FIND-PACKAGE "TIME"))) (COMPILER::PATCH-SOURCE-FILE "SYS: IO1; TIME  " (DEFUN PRINT-DATE-ONLY (&OPTIONAL (STREAM *STANDARD-OUTPUT*)) "Prints only those aspects of the time, UT, that differ from the current time. Also never prints seconds. Used by notifications, for example. If STREAM is NIL, construct and return a string." (MULTIPLE-VALUE-BIND (IGNORE IGNORE IGNORE DAY MONTH YEAR) (DECODE-UNIVERSAL-TIME (get-universal-time)) (FORMAT STREAM "~2,'0D-~2,'0D-~2,'0D" day (month-string month ':short) (remainder year 100.)))) ))