#| -*-Scheme-*-
-$Id: datime.scm,v 14.6 1995/04/15 06:28:23 cph Exp $
+$Id: datime.scm,v 14.7 1995/04/15 06:56:27 cph Exp $
Copyright (c) 1988-95 Massachusetts Institute of Technology
((> number high) high)
(else number)))))
(let ((month (limit 1 month 12)))
- (make-decoded-time (limit 0 second 59)
- (limit 0 minute 59)
- (limit 0 hour 23)
- (limit 1 day (month/max-days month))
- month
- (if (< year 0) 0 year)))))
+ (%make-decoded-time (limit 0 second 59)
+ (limit 0 minute 59)
+ (limit 0 hour 23)
+ (limit 1 day (month/max-days month))
+ month
+ (if (< year 0) 0 year)))))
(define (month/max-days month)
(guarantee-month month 'MONTH/MAX-DAYS)
#| -*-Scheme-*-
-$Id: os2prm.scm,v 1.11 1995/04/15 06:29:04 cph Exp $
+$Id: os2prm.scm,v 1.12 1995/04/15 06:58:41 cph Exp $
Copyright (c) 1994-95 Massachusetts Institute of Technology
;; Except for the missing time zone, this is an RFC-822 date/time string.
(let ((dt (decode-file-time time))
(d2 (lambda (n) (string-pad-left (number->string n) 2 #\0))))
- (string-append (number->string (decoded-time/year dt))
+ (string-append (number->string (decoded-time/day dt))
" "
(month/short-string (decoded-time/month dt))
" "