issues
search
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
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Parse date description like "last week friday"
#69
oschrenk
opened
9 months ago
0
Return Precision (of range)?
#68
oschrenk
opened
9 months ago
3
For time like 05:22, default to future, but got still past
#67
Gostradamus
opened
1 year ago
1
The v2 is a folder on main branch, not a branch. Is this ready to use and replace v1?
#66
Yeonpyeong
closed
1 year ago
1
Issue/64/dec 2031
#65
ijt
closed
1 year ago
1
Let's handle dates like "dec-2031"
#64
ijt
closed
1 year ago
0
Issue/62/mmm dd direction
#63
ijt
closed
1 year ago
1
mar-24 dates not getting default direction
#62
ijt
closed
1 year ago
0
Issue/60/mar 24
#61
ijt
closed
1 year ago
0
Dates like "mar-24" are not handled
#60
ijt
closed
1 year ago
0
Issue/58/dash ranges
#59
ijt
closed
1 year ago
1
Ranges like 2016/08/01 - 2016/08/31, with a dash "-" instead of "to" or similar, are not yet handled
#58
ijt
closed
1 year ago
0
Ranges like 2016/08/01 - 2016/08/31 with a dash are not yet handled
#57
ijt
closed
1 year ago
0
Issue/55/from april to may
#56
ijt
closed
1 year ago
0
"from april to may" currently ends at the end of May, surprisingly
#55
ijt
closed
1 year ago
0
README needs an update for v2
#54
ijt
opened
1 year ago
0
Issue/52/december 40
#53
ijt
closed
1 year ago
1
Bug: "december 40" gets parsed as the 40th day of december, i.e., Jan 9
#52
ijt
closed
1 year ago
0
Issue/50/1st2nd3rd4th
#51
ijt
closed
1 year ago
1
mar 1st, mar 2nd, mar 3rd, mar 15th are not yet handled
#50
ijt
closed
1 year ago
0
Issue/48/oct nov
#49
ijt
closed
1 year ago
1
"Oct Nov" gets parsed as a single date
#48
ijt
closed
1 year ago
0
add v2/go.mod
#47
ijt
closed
1 year ago
1
v2 needs go.mod etc.
#46
ijt
closed
1 year ago
0
V2 hand crafted
#45
ijt
closed
1 year ago
1
`ReplaceTimesByFunc` takes 1.5ms on a longish string on an M1 Studio Mac
#44
ijt
closed
1 year ago
3
Replace* funcs don't preserve spaces
#43
ijt
closed
1 year ago
1
ReplaceRangesByFunc takes 416483 ns/op on a Mac Studio M1 Max
#42
ijt
closed
1 year ago
1
update goparsify version to reduce regex compiles
#41
ijt
closed
1 year ago
1
regexp.Compile takes at least 12% of the time
#40
ijt
closed
1 year ago
1
Issue/38/day of month boundary
#39
ijt
closed
1 year ago
1
Bug: "december 40" gets parsed as "december 4"+"0" instead of "december" + "40"
#38
ijt
closed
1 year ago
0
Issue/36/ends of implicit ranges
#37
ijt
closed
1 year ago
1
The end date of "Nov" as an implicit range might be less surprising as Nov 30 rather than Dec 1
#36
ijt
closed
1 year ago
0
Issue/34/case insensitivity
#35
ijt
closed
1 year ago
1
Case insensitivity would be nice.
#34
ijt
closed
1 year ago
0
mention ReplaceDateRangesByFunc in README
#33
ijt
closed
2 years ago
0
Issue/31/replace date ranges 2
#32
ijt
closed
2 years ago
0
Need a way to extract date ranges including implicit ones like "this month"
#31
ijt
closed
2 years ago
0
Issue/29/partition times by funcs
#30
ijt
closed
2 years ago
1
It could be useful to have `PartitionTimesByFuncs`
#29
ijt
closed
2 years ago
0
update README.md to mention PartitionTimes
#28
ijt
closed
2 years ago
1
Issue/26/partition
#27
ijt
closed
2 years ago
1
A Partition() func could be useful
#26
ijt
closed
2 years ago
0
Issue/24/yearcontext
#25
ijt
closed
2 years ago
1
ReplaceTimesByFunc gets called on bare integers because it thinks they are years
#24
ijt
closed
2 years ago
0
Issue/22/mon th
#23
ijt
closed
2 years ago
1
"month" gets mistaken for "mon" "th"
#22
ijt
closed
2 years ago
0
Issue/20/market
#21
ijt
closed
2 years ago
0
"market" gets parsed as "mar" (i.e. march) followed by "ket"
#20
ijt
closed
2 years ago
0
Next