Improved calendar.model
parent
44de7d5883
commit
cb0d1561c7
|
@ -1 +1 @@
|
||||||
Doug Coleman
|
Slava Pestov
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
! Copyright (C) 2008 Slava Pestov
|
! Copyright (C) 2008 Slava Pestov
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: calendar namespaces models threads ;
|
USING: calendar namespaces models threads init ;
|
||||||
IN: calendar.model
|
IN: calendar.model
|
||||||
|
|
||||||
SYMBOL: time
|
SYMBOL: time
|
||||||
|
@ -12,4 +12,4 @@ SYMBOL: time
|
||||||
: time-thread ( -- ) [ (time-thread) ] in-thread ;
|
: time-thread ( -- ) [ (time-thread) ] in-thread ;
|
||||||
|
|
||||||
f <model> time set-global
|
f <model> time set-global
|
||||||
time-thread
|
[ time-thread ] "calendar.model" add-init-hook
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Date and time classes
|
Timestamp model updated every second
|
||||||
|
|
Loading…
Reference in New Issue