Aaron Raddon
293071ed83
Code cleanup, remove un-used code after #103
2020-09-30 12:17:37 -07:00
Aaron Raddon
1717268078
Merge pull request #103 from charles-dyfis-net/issue-102
...
Parse glibc strftime %c format (#102 )
2020-09-30 11:56:00 -07:00
Charles Duffy
661394b510
Parse glibc strftime %c format ( #102 )
...
This change trims day-of-week prefixes before entering into the parsing loop. This corrects parsing of glibc's strftime `%c` timestamps, and should allow significant simplification of the state machine in the future.
2020-05-05 21:10:24 -05:00
Aaron Raddon
d820a6159a
Merge pull request #101 from creekorful/master
...
Refactor to use scylladb/termtables
2020-04-09 15:51:46 -07:00
Aloïs Micard
acba2cf96b
Refactor to use scylladb/termtables
...
As you may all already know, apcera/termtables has come to a end.
This commit refactor to use the fork from scylladb.
ScyllaDB is an organization, so there's less chance that their
own fork goes offline too.
2020-04-09 08:39:08 +02:00
Aaron Raddon
0fb0a474d1
Merge pull request #87 from phorne-uncharted/dash-year-day
...
Added fix for dates split with dashes
2019-06-22 09:48:48 -07:00
Philippe Horne
0f77464124
Added a test to cover the 4 year date when dealing with dates of the type 28-Feb-2018.
2019-06-19 15:53:12 -04:00
Philippe Horne
dd780a39a3
Added fix to parse dates of the format 28-Feb-18 and 28-Feb-2018.
2019-06-19 13:28:39 -04:00
Aaron Raddon
d2ba70357e
Merge pull request #85 from egonelbre/remove-mgo
...
disable timeutils test to prevent depending on mgo
2019-05-10 14:17:50 -07:00
Egon Elbre
ad79b62a5b
disable timeutils test to prevent depending on mgo
2019-05-10 10:21:17 +03:00
Aaron Raddon
0d74ffceef
Merge pull request #84 from ferhatelmas/ordinal-fix
...
Fix ordinal parsing due to copy
2019-04-26 12:27:44 -07:00
ferhat elmas
b0e14136e9
Fix ordinal parsing due to copy
2019-04-26 01:42:47 +02:00
Aaron Raddon
2df4713d07
Merge pull request #83 from treuherz/patch-1
...
Fix typo in "unrecognised format" error
2019-04-25 14:16:23 -07:00
Eli Treuherz
3f294935c0
Fix typo in "unrecognised format" error
2019-04-25 09:12:58 +01:00
Aaron Raddon
74dc0e29b0
Merge pull request #82 from Rambatino/patch-1
...
effects != affects
2019-03-29 09:00:16 -07:00
Mark Ramotowski
fb407e66f0
effects != affects
2019-03-25 16:39:07 +13:00
Aaron Raddon
262228af70
code coverage
2019-02-22 17:01:37 -08:00
Aaron Raddon
c4a7a0dec4
new format closes #76
2019-02-22 16:50:43 -08:00
Aaron Raddon
21df004e09
Additional missed format for refs #74 date format with rd
2018-11-23 09:12:28 -08:00
Aaron Raddon
313f117957
new date formats closes #73 and closes #74
2018-11-22 13:54:48 -08:00
Aaron Raddon
00e168d348
fix date "1 July 2013" closes #70
2018-10-20 12:01:51 -07:00
Aaron Raddon
f056aa227c
change default go-versions to ci test with
2018-10-09 20:58:59 -07:00
Aaron Raddon
303fede690
merge master
2018-10-09 20:55:28 -07:00
Aaron Raddon
700250988b
new format closes #69
2018-10-09 20:50:09 -07:00
Aaron Raddon
cfd92a431d
Fix time-zone for certain formats closes #68
2018-07-29 10:48:19 -07:00
Aaron Raddon
42dbd9f872
update readme
2018-07-22 12:56:01 -07:00
Aaron Raddon
a95177ee19
parse yyyyMMddhhmmss digit format closes #65
2018-07-21 14:28:33 -07:00
Aaron Raddon
089f77b1d9
Add unit test for format for #62
2018-07-10 18:53:48 -07:00
Aaron Raddon
b703960732
Support 4 day month: "sept. 28, 2017" closes #62
2018-07-10 18:51:27 -07:00
Aaron Raddon
89c8cfc1bf
parse dates with double offsets, closes #64
2018-06-30 10:20:13 -07:00
Aaron Raddon
4109f1d4ab
Merge pull request #63 from icholy/master
...
improve error output formatting
2018-06-23 07:05:43 -07:00
Ilia Choly
0963c6f518
improve error output formatting
2018-06-19 11:39:29 -04:00
Aaron Raddon
6135c1994e
update readme w recent example
2018-06-10 14:35:21 -07:00
Aaron Raddon
728fac925c
update readme
2018-06-09 11:40:41 -07:00
Aaron Raddon
52b556944e
support jun. 7, 1985 format closes #61
2018-06-08 18:01:07 -07:00
Aaron Raddon
4c29e1d266
bug in June 2, 2018 format, short full month. closes #60
2018-06-05 18:01:57 -07:00
Aaron Raddon
5025a49c02
new format april 3, 2018 closes #59
2018-05-23 21:11:15 -07:00
Aaron Raddon
1e64c9214a
doc updates for #58
2018-05-03 18:09:23 -07:00
Aaron Raddon
26506dc7a8
add new yyyy.mm format closes #58
2018-05-03 18:06:52 -07:00
Aaron Raddon
4b079c6fdd
tests to ensure more bad formats fail
2018-04-18 17:36:22 -07:00
Aaron Raddon
d5da6dcdf6
cleanup readme doc
2018-04-17 16:42:13 -07:00
Aaron Raddon
b0e7f69efa
allow golangs wierd m=+0.00000 offset closes #57
2018-04-17 14:16:01 -07:00
Aaron Raddon
b8014f0dba
fix "3" too short for date, force error closes #56
2018-04-09 18:54:05 -07:00
Aaron Raddon
647d17def2
upgrade travis.yml to include new versions of go
2018-04-07 12:19:01 -07:00
Aaron Raddon
f40887f3bf
new format(no seconds) closes #58
2018-04-06 06:57:28 -07:00
Aaron Raddon
1d3842569f
improve godoc
2018-03-25 16:48:11 -07:00
Aaron Raddon
567fbdd828
Merge pull request #53 from araddon/parse_strict
...
parse strict refs #28
2018-03-25 16:15:49 -07:00
Aaron Raddon
d79052e547
update readme for parse-strict error
2018-03-24 17:52:32 -07:00
Aaron Raddon
fd8f11d211
parse strict refs #28
2018-03-24 17:49:27 -07:00
Aaron Raddon
934b3f146d
document new parseformat
2018-03-24 17:02:24 -07:00