diff --git a/basis/calendar/format/format.factor b/basis/calendar/format/format.factor index 96d4afcfae..e153bb2138 100644 --- a/basis/calendar/format/format.factor +++ b/basis/calendar/format/format.factor @@ -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 ;