]> gitweb.factorcode.org Git - factor.git/commitdiff
calendar: since-1970 shouldn't convert to >local-time; this causes words like "gmt...
authorJoe Groff <arcata@gmail.com>
Sun, 18 Jul 2010 20:41:01 +0000 (13:41 -0700)
committerJoe Groff <arcata@gmail.com>
Sun, 18 Jul 2010 20:41:01 +0000 (13:41 -0700)
basis/calendar/calendar.factor

index d9a6dfb3702a37eff06c064ae5eb5f98b0921ba4..4e6b35161f80e9cf94afb87ee33b753dd279d724 100644 (file)
@@ -532,7 +532,7 @@ M: integer end-of-year 12 31 <date> ;
     dup midnight time- ;
 
 : since-1970 ( duration -- timestamp )
-    unix-1970 time+ >local-time ;
+    unix-1970 time+ ;
 
 : timestamp>unix-time ( timestamp -- seconds )
     unix-1970 time- second>> ;