kennethreitz
99ffb773bb
Merge branch 'master' into mayadt_subtraction
2018-02-26 17:29:34 -05:00
kennethreitz
b3293f898e
Merge pull request #119 from tbarron/issue_104
...
Issue 104
2018-02-26 17:29:07 -05:00
kennethreitz
2d8015a13b
Merge pull request #120 from radek-sprta/patch-1
...
Add date property to MayaDT
2018-02-26 17:28:08 -05:00
radek-sprta
9066ee862d
Add date property to MayaDT
2018-02-03 12:37:25 +01:00
Tom Barron
5f362a8968
Adding myself to the AUTHORS file
2018-01-29 18:20:41 -05:00
Tom Barron
565fdd6a9e
Add myself to AUTHORS file
2018-01-29 18:18:52 -05:00
Tom Barron
24063b5e1b
New test and code to address issue 104
2018-01-29 18:10:36 -05:00
Tom Barron
b57f4a6775
Proposed update to support MayaDT - MayaDT -> datetime.timedelta
2018-01-29 13:37:31 -05:00
kennethreitz
91e7f499e2
Merge pull request #111 from zed/patch-1
...
there is no os.dirname only os.path.dirname
2017-12-18 17:28:29 -05:00
kennethreitz
be3a349b16
Merge pull request #113 from timofurrer/bugfix/open-encoding
...
Use codecs.open when relying on encoding
2017-12-18 17:28:20 -05:00
Timo Furrer
f69a93b110
Use codecs.open when relying on encoding. Fixes #112
2017-12-18 18:59:58 +01:00
zed
86586e733c
there is no os.dirname only os.path.dirname
2017-12-08 15:35:30 +03:00
kennethreitz
cd7b5b4aae
Merge pull request #109 from alysivji/add_pendulum_tz
...
Add timezone option for parse()
2017-12-03 13:47:31 -06:00
kennethreitz
b70884a1ec
Merge pull request #110 from zolrath/fix-prefer-past-test
...
Fix prefer_past test in December
2017-12-03 06:34:50 -06:00
Matt Furden
773cdecab5
Fix prefer_past test at end of year
2017-12-03 00:47:12 -08:00
Aly Sivji
ca865cd840
Add timezone parameter to maya.parse()
2017-12-03 00:06:41 -06:00
kennethreitz
5cf40b2d2e
Merge pull request #108 from timofurrer/feature/parse-year-first
...
Support year_first in maya.parse. Closes #102
2017-11-21 11:32:41 -05:00
Timo Furrer
93152fa7f4
Support year_first in maya.parse. Closes #102
...
This change adds support for a `year_first` keyword argument to the
`maya.parse` function. `maya` will forward this argument to pendulum
which then lets `dateutil.parse` do the work.
2017-11-21 13:19:55 +01:00
kennethreitz
baa0660a9b
Merge pull request #103 from zolrath/prefer-past
...
Add prefer_past option for when
2017-11-20 10:20:39 -05:00
Matt Furden
fd62815ce5
Fix test variable name change
2017-10-21 09:42:23 -07:00
Matt Furden
c0092e74ae
Add prefer_past option for when
...
When parsing dates from websites when encountering ambiguous dates like "December 12th" this is interpreted in the future (when the current date is in October).
When parsing dates that we know must be in the past this is not the correct behavior.
Add a `prefer_past` keyword argument to `when` to allow the user to ensure the date is parsed as being in the past.
2017-10-15 21:49:03 -07:00
kennethreitz
79d017fdcf
Merge pull request #100 from amalmurali47/patch-1
...
Fix typos and correct spelling.
v0.3.3
2017-09-21 10:15:42 -04:00
Amal Murali
7331d0d855
Fix typos and correct spelling.
2017-09-21 18:02:15 +05:30
kennethreitz
9c90c0534a
Merge pull request #99 from Miserlou/master
...
Fixes #98 - add support for time struct with test and docs
2017-09-20 13:45:03 -04:00
Rich Jones
b9c501b0e4
Fixes #98 - add support for time struct with test and docs
2017-09-20 19:32:37 +02:00
kennethreitz
3a71ff0174
Update README.rst
2017-09-05 13:01:06 -04:00
kennethreitz
43cc1d5946
Merge pull request #97 from dimaspivak/master
...
Fix MayaInterval.iso8601()
2017-09-02 15:14:51 -04:00
Dima Spivak
aecb643beb
Add Dima Spivak to AUTHORS.rst
2017-09-02 11:50:27 -07:00
Dima Spivak
fa966900e1
Fix MayaInterval.iso8601()
2017-09-02 11:47:32 -07:00
kennethreitz
892e589ef2
Update README.rst
2017-08-31 03:13:35 -04:00
kennethreitz
0f795738c0
Update README.rst
2017-08-31 03:13:16 -04:00
kennethreitz
b333489081
Merge pull request #96 from stsievert/patch-1
...
Add XKCD #1883 to README
2017-08-30 13:12:11 -04:00
Scott Sievert
17a450eb5d
Add XKCD #1883 to README
2017-08-30 12:06:08 -05:00
kennethreitz
8cd2158567
Merge pull request #87 from endast/patch-1
...
Update README.rst
2017-08-26 15:32:11 -04:00
kennethreitz
883b1b9b92
Merge pull request #90 from ibigpapa/master
...
Fix for issue #89
2017-08-26 15:31:15 -04:00
kennethreitz
414df5f3f5
Merge pull request #93 from timofurrer/patch-1
...
Fix typo in README. Closes #92
2017-07-28 13:46:33 -04:00
Timo Furrer
1694ed7cf8
Fix typo in README. Closes #92
2017-07-28 10:00:06 +02:00
Troy Harrison
cbe9f6bae7
Adds test for issue #89
2017-06-28 14:27:57 -05:00
Troy Harrison
8bdd5c65fa
Fixes issue #89
2017-06-28 14:26:54 -05:00
Magnus Wahlberg
4d96d06d70
Update README.rst
...
The example for intervals is missing an "s"
>>> import maya
>>> maya.interval(start=maya.now(), end=maya.now().add(days=1), interval=60*60)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'maya' has no attribute 'interval'
>>> maya.intervals(start=maya.now(), end=maya.now().add(days=1), interval=60*60)
<generator object intervals at 0x106acc0a0>
2017-06-23 08:44:20 +02:00
kennethreitz
bbdb9b8762
Merge pull request #79 from robcarrington/fix-setup
...
Fixed setup.py bug by turning encoding into a keyword argument. Encod…
2017-05-30 22:12:00 -04:00
Robert Carrington
28ecad81bd
Fixed setup.py bug by turning encoding into a keyword argument. Encoding parameter was being passed in the position belonging to the buffering parameter
2017-05-30 21:03:35 -05:00
kennethreitz
c56c552184
Merge pull request #78 from moin18/seconds_or_timedelta_private
...
"seconds_or_timedelta" as private
2017-05-30 10:51:31 -04:00
Moin
d5e4853886
updated test to use private _seconds_or_timedelta
2017-05-30 20:03:20 +05:30
Moin
28b3a849a9
declare seconds_or_timedelta as private function
2017-05-30 19:58:33 +05:30
kennethreitz
d872f29cfc
Merge pull request #76 from emattiza/dev-docs
...
Docs addition for Maya
2017-05-29 02:12:10 -04:00
Evan.Mattiza
d8cbdede28
added update, install, and some quickstart
...
Signed-off-by: Evan.Mattiza <emattiza@gmail.com >
2017-05-29 01:03:35 -05:00
Evan.Mattiza
c0f1bd709f
Versioning in docs off Maya Package
...
Signed-off-by: Evan.Mattiza <emattiza@gmail.com >
2017-05-28 23:16:20 -05:00
Evan.Mattiza
8469e60d3c
Tree of API and Use-Case definitions
...
added files for api descriptions and usage by users
Signed-off-by: Evan.Mattiza <emattiza@gmail.com >
2017-05-28 23:16:20 -05:00
Evan.Mattiza
953f857940
Index Basics added
...
Signed-off-by: Evan.Mattiza <emattiza@gmail.com >
2017-05-28 23:16:20 -05:00