GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

Support eoy definition in taskwarrior 2.5.2 (Closes: #87) #88

Closed jspricke closed 3 years ago

jspricke commented 3 years ago

taskwarrior 2.5.2 switched the end of year definition:

$ task calc eoy 2000-12-31T23:59:59 (version 2.5.1) 2021-01-01T00:00:00 (version 2.5.2)

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-1.7%) to 90.488% when pulling 57384842951b36a2201a3a5db3586201ed8991f2 on jspricke:develop into 8b045552526e83e6d592aaa8d64b115d7cc7bb54 on robgolding:develop.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 92.159% when pulling 30cabdac401d1795f5a1d7ce47955cc3792d1847 on jspricke:develop into 8b045552526e83e6d592aaa8d64b115d7cc7bb54 on robgolding:develop.

robgolding commented 3 years ago

Ah, just realised the usage of six is causing an issue here - no need for that anymore as this library is Python 3 only! If you can fix that up I'll merge this PR!

jspricke commented 3 years ago

Fixed. (I wrote it for the Debian version, initially). Btw. can you push tags for the latest versions? pypi lists 2.2.1 but latest tag is only 1.3.0, or is pypi the official source?

robgolding commented 3 years ago

Thanks, and Happy New Year! Merging this now. I've also pushed tags for the missing versions to match PyPI.