From: Doug Coleman Date: Thu, 14 Jan 2010 23:20:30 +0000 (-0600) Subject: Clean up a windows.time word X-Git-Tag: 0.97~5080^2~4 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=350f69b645e36e54feb36a2b51e943d9b60f5efd Clean up a windows.time word --- diff --git a/basis/windows/time/time.factor b/basis/windows/time/time.factor index dfe12aaf3c..904c85200e 100644 --- a/basis/windows/time/time.factor +++ b/basis/windows/time/time.factor @@ -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 ; +: windows-1601 ( -- timestamp ) 1601 ; : FILETIME>windows-time ( FILETIME -- n ) [ dwLowDateTime>> ] [ dwHighDateTime>> ] bi >64bit ;