+2000-02-29 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * poe-18.el (current-time-string): Fixed leap year's day counting bug.
+
2000-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
* emu.el (enriched-encode): Do nothing for it if FSF Emacs 19.28
(setq lyear (and (zerop (% yyyy 4))
(or (not (zerop (% yyyy 100)))
(zerop (% yyyy 400)))))
- (while (> (- dd (nth mm mdays)) 0)
- (if (and (= mm 1) lyear)
- (setq dd (- dd 29))
- (setq dd (- dd (nth mm mdays))))
+ (while (> (- dd (if (and lyear (= mm 1)) 29 (nth mm mdays))) 0)
+ (setq dd (- dd (if (and lyear (= mm 1)) 29 (nth mm mdays))))
(setq mm (1+ mm)))
(setq HH (/ low 3600)
low (% low 3600)