ijt / go-anytime

Parse natural and standardized dates/times and ranges in Go without knowing the format in advance
MIT License
23 stars 2 forks source link

add check for range parse result token matching input #9

Closed ijt closed 2 years ago

ijt commented 2 years ago

This makes sure that we can always get the underlying substring that was parsed to get a date/time range.

codecov[bot] commented 2 years ago

Codecov Report

Merging #9 (2e048c7) into main (f4d7070) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   94.56%   94.56%           
=======================================
  Files           1        1           
  Lines         699      699           
=======================================
  Hits          661      661           
  Misses         22       22           
  Partials       16       16           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.