]> gitweb.factorcode.org Git - factor.git/commitdiff
Clean up a windows.time word
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 14 Jan 2010 23:20:30 +0000 (17:20 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 14 Jan 2010 23:20:30 +0000 (17:20 -0600)
basis/windows/time/time.factor

index dfe12aaf3c21e7147e017400933ac2f33e2c4cbe..904c85200e583509959a70edf683461f5815ed8f 100644 (file)
@@ -8,8 +8,7 @@ IN: windows.time
 : >64bit ( lo hi -- n )
     32 shift bitor ; inline
 
-: windows-1601 ( -- timestamp )
-    1601 1 1 0 0 0 instant <timestamp> ;
+: windows-1601 ( -- timestamp ) 1601 <year-gmt> ;
 
 : FILETIME>windows-time ( FILETIME -- n )
     [ dwLowDateTime>> ] [ dwHighDateTime>> ] bi >64bit ;