]> gitweb.factorcode.org Git - factor.git/commitdiff
oops, not everyone is in my timezone
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 21 Sep 2008 00:08:59 +0000 (19:08 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 21 Sep 2008 00:08:59 +0000 (19:08 -0500)
basis/calendar/calendar-docs.factor

index 62ff4ad51779d3066ab726c2562b2cba50e1069c..c3d84fc783617804ca1a9afaf88611e970eb5ad4 100644 (file)
@@ -21,8 +21,8 @@ HELP: <date>
 { $description "Returns a timestamp object representing the start of the specified day in your current timezone." }
 { $examples
     { $example "USING: calendar prettyprint ;"
-               "2010 12 25 <date> ."
-               "T{ timestamp\n    { year 2010 }\n    { month 12 }\n    { day 25 }\n    { gmt-offset T{ duration { hour -5 } } }\n}"
+               "2010 12 25 <date> >gmt midnight ."
+               "T{ timestamp { year 2010 } { month 12 } { day 25 } }"
     }
 } ;