Commit Graph

126 Commits

Author SHA1 Message Date
Aaron Raddon
e152c5aaf6 Dateparse refactor to split time/date 2018-03-01 18:36:46 -08:00
Aaron Raddon
20cd681f46 time-parse fixes 2018-02-27 20:05:14 -08:00
Aaron Raddon
13b1994d70 split into date, time partial parsing 2018-02-25 16:35:33 -08:00
Aaron Raddon
3fd9518a70 Fix a bad parse date, closes #40 2018-02-13 20:44:26 -08:00
Aaron Raddon
036f821411 fix time-zone of "Fri, 5 Jan 2018 14:09:32 -0700 (MST)" format closes #39 2018-02-09 18:08:04 -08:00
Aaron Raddon
a7818d843a Add format 02 Jan 2018 23:59 closes #38 2018-02-08 12:52:03 -08:00
shirHornstein
f08fe4265b support more formats with one digits 2018-02-08 17:03:45 +02:00
Aaron Raddon
f912f7e43f new format "2 January 2006" closes #36 2018-01-24 18:00:51 -08:00
Aaron Raddon
afa6a0f934
mm.dd.yyyy format closes #34 (pr #35) 2018-01-11 13:21:04 -08:00
Aaron Raddon
031c380915 new date format closes #32 2018-01-04 23:08:24 -08:00
Aaron Raddon
39fde9de9e new format: 2017-12-11 10:16 no seconds closes #31 2017-12-11 10:53:38 -08:00
Aaron Raddon
f30ca3179c Support Chinese Date Format 2017-11-18 11:07:33 -08:00
Aaron Raddon
3007e2ec4a 4/15/06 22:05 format closes #30 2017-11-18 10:21:24 -08:00
Aaron Raddon
ca7e753bd1 Dont allow unix-seconds to be negative 2017-10-07 09:34:59 -07:00
Aaron Raddon
6da1fef9ab add pkg doc 2017-10-04 03:50:25 -07:00
Aaron Raddon
e2f3c465e9 ensure second, millisecond ints as dates use location 2017-08-26 14:12:55 -07:00
Aaron Raddon
febb340f9d Improve golint happiness 2017-08-12 09:48:28 -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
fbbaa2aade Rewrite tests to show time.Local usage 2017-07-26 15:34:40 -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
47cec0dc4d parse 2016-06-21T19:55:00+01:00 2017-07-11 11:00:40 -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
Aaron Raddon
f1f37e5e29 Fix tests for local-time issues 2017-04-23 11:24:32 -07:00
Brandon Bennett
a98eb24a4c remove unnessiary dependencies 2017-04-22 20:57:16 -06:00
junichif
16a3db9352 add more date dot options 2017-04-11 15:32:53 -07: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
drewlanenga
c1159e2c50 add support for GMT formatted offsets 2016-09-13 10:40:04 -04:00
Aaron Raddon
86f3852b68 Add test for Date format w a Z 2016-07-13 08:33:23 -07: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
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
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
Aaron Raddon
375d67e59f update to handle yyyy/?? formats 2014-07-10 15:25:23 -07:00
Aaron Raddon
34163bbbdb new format, RFC850 2014-06-15 11:18:20 -07:00
Aaron Raddon
4c4c087855 fix rubydate 2014-05-21 08:01:57 -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
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
cf36286fa6 doc readme 2014-05-11 10:22:53 -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
99b6954ef6 test err 2014-04-24 18:12:43 -07:00
Aaron Raddon
b00a86af45 Iso3339 support 2014-04-24 17:51:56 -07:00
Aaron Raddon
3711f308e4 initial commit 2014-04-20 19:56:17 -07:00