Closed rendaw closed 3 years ago
Sometimes dates like "today", "now", "yesterday", "3 days ago" come up in data sets and it would be useful to be able to parse these. Maybe a reference date could be set, similar to locale for local parsing?
you can try go-carbon
same/similar https://github.com/araddon/dateparse/issues/12
Oh yep, sorry! I searched but must have missed that.
Sometimes dates like "today", "now", "yesterday", "3 days ago" come up in data sets and it would be useful to be able to parse these. Maybe a reference date could be set, similar to locale for local parsing?