go-dateparser
go-dateparser copied to clipboard
Period is not very precise as a confidence level
A lot of the relative date names have a Period of Day, even though they're more precise than that.
For example, "today" and "now" return the same time, both with a period of Day, even though "now" is reasonable as a more precise time.
This makes it difficult to gauge the precision of the given date string.
For times such as "now" or "five hours ago", I would suggest that Time is a reasonable Period to use.
Or, another period between Time and Day would be useful, such as Second, Minute, or Hour.