dlowe-net / local-time

Time manipulation library for Common Lisp
Other
102 stars 43 forks source link

Uncaught error with local-time:parse-timestring #125

Closed gibsonf1 closed 2 months ago

gibsonf1 commented 3 months ago
(local-time:parse-timestring "t-29" :fail-on-error nil)

The value
  NIL
is not of type
  FIXNUM
when binding LOCAL-TIME::START
   [Condition of type TYPE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] abort thread (#<THREAD tid=3228389 "new-repl-thread" RUNNING {125A2C6D93}>)

Backtrace:
  0: ((LABELS LOCAL-TIME::FULL-TIME :IN LOCAL-TIME::%SPLIT-TIMESTRING) #<unavailable argument>)
      [No Locals]
  1: (LOCAL-TIME::%SPLIT-TIMESTRING #<unavailable argument> :START #<unavailable argument> :END #<unavailable argument> :FAIL-ON-ERROR #<unavailable argument> :TIME-SEPARATOR #<unavailable argument> :DATE-..
      Locals:
        DAY = NIL
        HOUR = NIL
        MINUTE = NIL
        MONTH = NIL
        NSEC = NIL
        OFFSET-HOUR = NIL
        OFFSET-MINUTE = NIL
        SECOND = NIL
        YEAR = NIL
dlowe-net commented 2 months ago

Thanks for the report!

gibsonf1 commented 2 months ago

Daniel, Thanks for the great library and very fast fix!