: expire-state ( class -- )
new
- -1/0. now-gmt timestamp>micros [a,b] >>expires
+ -1/0. now timestamp>micros [a,b] >>expires
delete-tuples ;
TUPLE: server-state-manager < filter-responder timeout ;
"<" %
64 random-bits #
"-" %
- now-gmt timestamp>micros #
+ now timestamp>micros #
"@" %
smtp-config get domain>> [ host-name ] unless* %
">" %
! 0x01b21dd213814000L is the number of 100-ns intervals
! between the UUID epoch 1582-10-15 00:00:00 and the
! Unix epoch 1970-01-01 00:00:00.
- now-gmt timestamp>micros 10 * 0x01b21dd213814000 +
+ now timestamp>micros 10 * 0x01b21dd213814000 +
[ -48 shift 0x0fff bitand ]
[ -32 shift 0xffff bitand ]
[ 0xffffffff bitand ]
: update-key-caps-state ( -- )
read-keyboard keys>>
path binary [
- [ now-gmt unix-1970 time- duration>nanoseconds >integer ]
+ [ now unix-1970 time- duration>nanoseconds >integer ]
[ bit-array>integer ] bi*
[ 8 >be write ] bi@ flush
] with-file-appender ;
TUPLE: irclog-app < dispatcher ;
: irc-link ( channel -- string )
- now-gmt -7 hours convert-timezone >date<
+ now -7 hours convert-timezone >date<
[ unparse 2 tail ] 2dip
"http://bespin.org/~nef/logs/%s/%02s.%02d.%02d"
sprintf ;