calendar.format: add hm>timestamp

char-rename
Alexander Iljin 2016-07-22 19:03:40 +03:00 committed by John Benediktsson
parent ebfce1deea
commit a337a0349d
1 changed files with 3 additions and 0 deletions

View File

@ -286,6 +286,9 @@ ERROR: invalid-timestamp-format ;
: hms>timestamp ( str -- timestamp )
[ (hms>timestamp) ] with-string-reader ;
: hm>timestamp ( str -- timestamp )
":00" append hms>timestamp ;
: (ymd>timestamp) ( -- timestamp )
read-ymd <date-gmt> ;