Permalink
Browse files

Add :short-year to format-timestring

  • Loading branch information...
1 parent 9f7eea3 commit bbcf4e87b89b9c358040c1da77f6cceac7759efd @whalliburton whalliburton committed May 29, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/local-time.lisp
View
2 src/local-time.lisp
@@ -1587,6 +1587,8 @@ elements."
(abs offset-hours)
(truncate (abs offset-secs)
+seconds-per-minute+)))))
+ ((eql fmt :short-year)
+ (princ (mod year 100) result))
((eql fmt :long-month)
(princ (aref +month-names+ month) result))
((eql fmt :short-month)

0 comments on commit bbcf4e8

Please sign in to comment.