Commit Graph

121 Commits

Author SHA1 Message Date
Aaron Raddon
11f69fe6d8 state constants dont need to be public 2017-07-26 18:26:57 -07:00
Aaron Raddon
7dedf040d6 Improve doc on time.Location usage 2017-07-26 17:08:58 -07:00
Aaron Raddon
3e1f751fed new date format for 2013-Feb-03 2017-07-26 16:55:21 -07:00
Aaron Raddon
0e522cd409 Parse In Location api 2017-07-26 16:42:12 -07:00
Aaron Raddon
a53388c7ec New Format for 2017-07-19 03:21:51+00:00 2017-07-20 18:41:09 -07:00
Aaron Raddon
cab5e508ca Another date format from salesforce 2017-07-17 14:46:18 -07:00
Aaron Raddon
73f547e7b6 New zone format 2017-07-14 07:02:22 -07:00
Aaron Raddon
b2d4996d99 100% test coverage and simplification 2017-07-13 19:57:15 -07:00
Aaron Raddon
13f5ac295e Parse format fix 2017-07-13 09:11:41 -07:00
Aaron Raddon
acf14d1efc Direct return & new format for no second TZ dates 2017-07-12 08:22:34 -07:00
junichif
91bb6b61cd merge plus/minus state 2017-07-11 13:40:58 -07:00
junichif
47cec0dc4d parse 2016-06-21T19:55:00+01:00 2017-07-11 11:00:40 -07:00
Aaron Raddon
56e8516666 Further code cleanup and simplification, less len() matches 2017-06-26 17:45:07 -07:00
Aaron Raddon
9904ad7e1b simplify date parsing 2017-06-25 19:19:36 -07:00
Aaron Raddon
1bef41e8d2 Simplify date parsing, dont need ms etc 2017-06-25 19:12:09 -07:00
Aaron Raddon
f0482b5ca2 Merge branch 'master' of github.com:araddon/dateparse 2017-06-25 19:10:08 -07:00
Aaron Raddon
4d8007b10b New date formats 2017-06-25 19:09:06 -07:00
junichif
62adefbf6b parse 2006-01-02 15:04:05 -07:00 2017-06-14 13:56:12 -07:00
junichif
fdd8318abb parse 2009-08-12T22:15:09.123 2017-05-03 13:50:31 -07:00
Brandon Bennett
a98eb24a4c remove unnessiary dependencies 2017-04-22 20:57:16 -06:00
junichif
8884440181 update +- timezone parser 2017-04-11 15:39:27 -07:00
junichif
16a3db9352 add more date dot options 2017-04-11 15:32:53 -07:00
Aaron Raddon
5ea40eaf94 Update docs from latest changes 2017-02-14 08:27:25 -08:00
junichif
83d88934e4 split am/pm into own statements 2017-02-13 18:39:03 -08:00
junichif
2ac499f384 fix slash am/pm times 2017-02-13 16:49:48 -08:00
Aaron Raddon
ebdd2c1b80 New date format 2017-02-05 10:04:03 -08:00
Aaron Raddon
2943ab2f5b New date format 2017-01-30 17:18:48 -08:00
Aaron Raddon
352f0d7149 Add must parse 2016-09-18 11:46:39 -07:00
drewlanenga
c1159e2c50 add support for GMT formatted offsets 2016-09-13 10:40:04 -04:00
Aaron Raddon
a19b713c2e Code cleanup to reduce trial-error parsing 2016-05-03 13:55:11 -07:00
allisonmorgan
3ded14df6a Support timestamps with leading day of week 2016-05-03 13:02:30 -07:00
Aaron Raddon
2f41da3eb2 remove spurious logging 2016-03-13 17:58:21 -07:00
Michael Camilleri
5a2b0cd269 add YYYY-MM and YYYY date formats 2016-03-01 13:25:00 -08:00
Aaron Raddon
fbec5be882 support short date format 2016-01-05 11:34:31 -08:00
Aaron Raddon
eeec45e120 2 new date formats 2015-09-30 12:09:08 -07:00
Aaron Raddon
b93aaa0470 support yyyddmm integer values as date 2015-08-18 15:50:04 -07:00
Aaron Raddon
ed500d214a add a new date format 2015-08-10 10:54:01 -07:00
Aaron Raddon
4f9dbf802b new date format for weird long date 2015-07-03 10:27:48 -07:00
Aaron Raddon
78bdcff302 another date format, yay 2015-06-25 17:24:55 -07:00
Aaron Raddon
51d5271755 de-spam logs 2015-06-25 16:51:28 -07:00
Aaron Raddon
0dca814ad3 new date format 2015-06-25 14:09:39 -07:00
Aaron Raddon
33ad15a3c7 add golang native format 2015-04-16 11:37:50 -07:00
Aaron Raddon
abacbd8024 add another weird date format: 08/21/71 2014-12-15 11:20:40 -08:00
Aaron Raddon
501e3eeb15 merge pr utc support 2014-12-02 14:57:00 -08:00
allisonmorgan
d6e91490c7 Added support for timestamps like: "2006-01-02 15:04:05 UTC" 2014-11-25 13:16:59 -08:00
Aaron Raddon
97578a0e9c add support for milliseconds 2014-10-07 18:30:17 -07:00
Allison Morgan
3d397c53f2 Update parseany.go 2014-10-02 14:47:22 -07:00
allisonmorgan
26dc426a1c Updated to include a few timestamps with different seconds precision 2014-10-02 14:39:24 -07:00
Aaron Raddon
375d67e59f update to handle yyyy/?? formats 2014-07-10 15:25:23 -07:00
Aaron Raddon
16ac80f2b1 better error messages 2014-06-15 12:16:39 -07:00
Aaron Raddon
e3ddfb42a9 doc some notes, and fix utf multi byte reads 2014-06-15 12:11:29 -07:00
Aaron Raddon
34163bbbdb new format, RFC850 2014-06-15 11:18:20 -07:00
Aaron Raddon
5750806565 remove unused code 2014-05-21 20:49:26 -07:00
Aaron Raddon
85a0c6b618 couple new date formats 2014-05-20 22:53:52 -07:00
Aaron Raddon
3706ed61ad revamp state types 2014-05-20 22:08:25 -07:00
Aaron Raddon
69569e0631 logging improvement 2014-05-16 14:20:30 -07:00
Aaron Raddon
497d740c1b new date format 2014-05-11 18:22:16 -07:00
Aaron Raddon
aa93a85b69 new date format 2014-05-11 18:08:56 -07:00
Aaron Raddon
9486d2dfd3 two more date formats 2014-05-11 13:33:13 -07:00
Aaron Raddon
f85104b4d6 new date format for comma microseconds 2014-05-11 08:42:56 -07:00
Aaron Raddon
6e81432574 wip, failing test for new date format 2014-05-11 08:28:23 -07:00
Aaron Raddon
9e4b7a4b46 total re-write 2014-05-06 21:15:43 -07:00
Aaron Raddon
a793d0cb31 ampm format 2014-05-06 18:14:58 -07:00
Aaron Raddon
36dfef3c74 fix 24 hour range on date parse 2014-05-06 12:34:24 -07:00
Aaron Raddon
7b91f1acd1 add new date format 2014-05-06 12:32:49 -07:00
Aaron Raddon
a2c6f47ce0 -add date only format 2014-04-27 14:33:33 -07:00
Aaron Raddon
98484a1f48 add new format for no seconds 2014-04-27 13:26:17 -07:00
Aaron Raddon
bb9e1dcbca parse unix 2014-04-25 16:59:10 -07:00
Aaron Raddon
b00a86af45 Iso3339 support 2014-04-24 17:51:56 -07:00
Aaron Raddon
fcbf9aa9db debugging 2014-04-20 20:02:39 -07:00
Aaron Raddon
3711f308e4 initial commit 2014-04-20 19:56:17 -07:00