]> gitweb.factorcode.org Git - factor.git/commitdiff
calendar.parser: use duration*.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Dec 2020 07:15:07 +0000 (23:15 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Dec 2020 07:15:07 +0000 (23:15 -0800)
basis/calendar/parser/parser.factor

index 51ee54fd01efb6eef1698590ae2c8a671bb99436..980a190a8c883b9cabcbcdb45f661eb82e92f48e 100644 (file)
@@ -29,7 +29,7 @@ ERROR: invalid-timestamp-format ;
 : read-sp ( -- token ) " " read-token ;
 
 : signed-gmt-offset ( dt ch -- dt' )
-    { { CHAR: + [ 1 ] } { CHAR: - [ -1 ] } } case time* ;
+    { { CHAR: + [ 1 ] } { CHAR: - [ -1 ] } } case duration* ;
 
 : read-rfc3339-gmt-offset ( ch -- dt )
     {