logv / snorkel

UI for interactive data analysis | https://snorkel.logv.org
https://fb.com/groups/snorkelsnorkelsnorkel
161 stars 21 forks source link

src.util.time_to_seconds does not work with bsd date #43

Closed tmc closed 5 years ago

tmc commented 5 years ago

bsd's date isn't quite as fancy as gnu's and the '-1 week' parsing doesn't work with it.

okayzed commented 5 years ago

should we find a python library that does this, then? coreutils is available on BSD, but it will lead to confusing situations to have special setup for BSD.

okayzed commented 5 years ago

parsedatetime is a python library that works here, i'm trying it out and verifying it works with common strings and py2/py3

okayzed commented 5 years ago

eab008d uses parsedatetime instead of date from coreutils