1.3.1:
Fixed inaccuracy of in_days() method on DST transitions.
Fixed seconds inaccuracy for past datetimes.
1.3.0:
Added support for the alternative formatter's tokens in from_format().
Added a timezones module attribute to expose available timezones.
Added the exact keyword to parse() which behaves exactly like strict.
Dropped support for Python 3.2 and 3.3.
The classic formatter in from_format() is now deprecated.
Fixed th locale.
0.9.8
=====
released 2017-10-05
* FIX a bug in ikhal: when editing events and not editing the dates, the end
time could erroneously be moved to the start time + 1h
Version 0.16.3
==============
*released on 03 October 2017*
- First version with custom Debian and Ubuntu packages. See :gh:`663`.
- Remove invalid ASCII control characters from server responses. See :gh:`626`.
- **packagers:** Python 3.3 is no longer supported. See :ghpr:`674`.
0.9.7
=====
released 2017-09-15
* FIX don't crash when editing events with datetime UNTIL properties
* FIX `search` will no longer break on overwritten events with a master event
* CHANGE `search` will now print one line for every different event in a
recurrence set, that is one line for the master event, and one line for every
different overwritten event
Datetimes are very frustrating to work with in Python, especially when
dealing with different locales on different systems. This library exists
to make the simple things much easier, while admitting that time is an
illusion (timezones doubly so).
Datetimes should be interacted with via an API written for humans.
Maya is mostly built around the headaches and use-cases around parsing
datetime data from websites.
Native datetime instances are enough for basic cases but when you face
more complex use-cases they often show limitations and are not so
intuitive to work with. Pendulum provides a cleaner and more easy to use
API while still relying on the standard library. So it’s still datetime
but better.
Unlike other datetime libraries for Python, Pendulum is a drop-in
replacement for the standard datetime class (it inherits from it), so,
basically, you can replace all your datetime instances by Pendulum
instances in you code (exceptions exist for libraries that check the type
of the objects by using the type function like sqlite3 or PyMySQL for
instance).
It also removes the notion of naive datetimes: each Pendulum instance is
timezone-aware and by default in UTC for ease of use.
Pendulum also improves the standard timedelta class by providing more
intuitive methods and properties.
This module provides a pure-python version of the LIGOTimeGPS class,
used to represent GPS times (number of seconds elapsed since GPS
epoch) with nanoseconds precision.
1.3202 2017-09-13
- Fix AIX compile
1.3201 2017-06-22
- Fix compile errors on MS
- Use macro for buf sizes
- Remove some compile warnings
- SP of by 1 in _crt_localtime
1.32 2017-06-20
- Since 1.31:
- New truncate() method
- Add new flags: %F, %T, %P + more
- Add rudimentary locale support via use_locale()
- More tests
- Less bugs (hopefully)
1.9746 [2017-08-17]
- Unreliable t/usleep.t and t/utime.t tests [rt.cpan.org #122819]
Avoid testing for $dt = $t2 - $t1 and assuming $dt is less than
some value since a heavily loaded machine can delay the $t2.
Testing for greater than is fine.
- Tweak the configuring messages about subsecond stat/utime.
1.9745 [2017-08-14]
- Properly check for futimens/utimensat actually doing something.
This should handle 'gnukfreebsd' (which has only stubs, so far
we have been skipping the test) and as a new thing 'gnu' (Hurd)
(also only stubs). Thanks to Nigel Horne.
- Scan in t/utime.t whether the filesystem (wherever File::Temp
puts it tempfiles) supports subsecond timestamps. This removes
the fragile Linux/ext3 specific hack. As a side effect, the
setting of subsecond timestamps is tested only if reading of
them is supported. Thanks to Carsten Gaebler for the test idea,
and Ryan Voots for testing.
Upstream changes:
1.44 2017-08-20
- Added a stringify() method. This does exactly the same thing as
stringification overloading does. GH #58.
- Added an is_last_day_of_month() method to indicate whether or not an object
falls on the last day of its month. GH #60.