kipcole9/tempo

Inspect results when a time is after a selection

kipcole9 opened this issue · 0 comments

There needs to be a T time marker between the selection and the following time units.

iex> ~o"R/20150104T083000/PT15M00S/F2YL1M1KT8H30MN"
~o"R/2015Y1M4DT8H30M0S/PT15M0S/F2YL1M1K8H30MN"
iex> ~o"R/2015Y1M4DT8H30M0S/PT15M0S/F2YL1M1K8H30MN"
** (Tempo.ParseError) Could not parse "R/2015Y1M4DT8H30M0S/PT15M0S/F2YL1M1K8H30MN". Error detected at "L1M1K8H30MN"
    (tempo 0.2.0-dev) lib/sigil.ex:7: Tempo.Sigil.sigil_o/2
    iex:16: (file)