All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Feature: quarters
- Chore: Updated
pytz
dep from <2020.2,>=2018.04 to >=2018.04,<2020.5 - Chore: Updated
python-dateutil
dep from <2021.2,>=2018.04 to >=2018.04,<2021.4
- Updated
pytz
dep from <2020.2,>=2018.04 to >=2018.04,<2020.5
- Token 'Y' as both snap and modifier behaviours. By @Sighery
- Updated depedencies
- Deprecation warnings from the usage of 'collections.Sequence'.
- Feature day of week snappers
- Dependency upgrades:
- pytz >= 2018.04 < 2019.04
- python-dateutil >= 2.7.3 < 2.8.2
- Updated dependencies:
- pytz
- freeegun
- python-dateutil
- Fixed
token_to_utc_date
not readingtoken
keyword argument
- Refactored testing suite to replace
mock
withfreezegun
as it is more convenient to work with dates. - Added features:
- Support for setting time zones so as to
localize the
now
's value prior to apply token modifiers. token_to_utc_date
to evaluate a token and get back the result in UTCeval_datetoken
: Evaluate a token and more arguments to later return anddatetoken.objects:Token
datetoken.evaluator.Datetoken
: Helper to configure tokens. Supports fluent programming
- Support for setting time zones so as to
localize the
- Dropped features:
datetoken.models:Token.from_string
in favor ofdatetoken.evaluator.eval_datetoken
- Added features:
- Chainable modifiers after snap modifiers
- Partial Pratt parser
- Dropped features:
complex_token_to_date
utilsimple_token_to_date
utilSimpleToken
modelComplexToken
model
- Limit dateutil dependency versions
- Hello world!