Commit graph

14 commits

Author SHA1 Message Date
adam
21d2b9e524 py-pendulum: updated to 2.0.5
2.0.5:

Fixed
* Fixed ISO week dates not being parsed properly in from_format().
* Fixed loading of some timezones with empty posix spec.
* Fixed deprecation warnings.

Locales
* Added RU locale.
2019-07-18 11:29:30 +00:00
adam
4b8584c55b Forget about Python 3.4 2019-05-02 09:16:47 +00:00
adam
d0534d122a py-pendulum: updated to 2.0.4
2.0.4:
Fixed from_format() not recognizing input strings when the specified pattern had escaped elements.
Fixed missing x token for string formatting.
Fixed reading timezone files.
Added support for parsing padded 2-digit days of the month with from_format()
Fixed from_format() trying to parse escaped tokens.
Fixed the z token timezone parsing in from_format() to allow underscores.
Fixed C extensions build errors.
Fixed age calculation for future dates.
2018-11-14 10:31:58 +00:00
leot
2586feaa73 py-pendulum: Disable C Extensions when building the 2.7 multi-package
C Extensions code does not seem supported when it is built with Python 2.7.
Pass the environment variable to avoid compiling it and failing and adjust PLIST
accordingly.

Reported via #pkgsrc by Juraj Lutter, thanks!
2018-08-14 15:23:51 +00:00
adam
b70027b7b5 py-pendulum: updated to 2.0.3
2.0.3:
Fixed handling of pytz timezones.
Fixed some formatter's tokens handling.
Fixed errors on some systems when retrieving timezone from localtime files.
Fixed diff methods.
Fixed closest()/farthest() methods.
2018-08-07 10:09:43 +00:00
adam
2a69d407f4 py-pendulum: updated to 2.0.2
2.0.2:
Fixed the weeks property for negative Period instances.
Fixed start_of() methods not setting microseconds to 0.
Fixed errors on some systems when retrieving timezone from clock files.
Fixed parsing of partial time.
Fixed parsing not raising an error for week 53 for ordinary years.
Fixed string formatting not supporting strftime format.

2.0.1:
Fixed behavior of the YY token in from_format().
Fixed errors on some systems when retrieving timezone from clock files.
2018-06-16 13:06:54 +00:00
adam
08ce177f53 py-pendulum: updated to 1.5.1
1.5.1
Fixed set() not acception the tz keyword argument.
Fixed datetime() not setting the timezone to UTC by default.

1.5.0
Added the datetime() helper.
Added the set() method to set properties.
Added the is_utc() and is_local() methods.
year_(), month_(), day_(), hour_(), minute_(), second_(), microsecond_() are now deprecated.
timezone_() and tz_() are now deprecated.
timestamp_() is now deprecated.
with_date_time(), with_time_from_string() and with_timestamp() are now deprecated.
between() is now deprecated.
min_(), max_(), minimum(), maximum() are now deprecated.
is_today(), is_yesterday(), is_tomorrow() and is_same_day() are now depecreated.
is_sunday() -> is_saturday() are now deprecated.
The utc and local properties are now deprecated. Use is_utc() and is_local() instead.
2018-04-26 07:53:20 +00:00
adam
2397a00c3e py-pendulum: updated to 1.4.4
1.4.4:
Fixed extension building script.

1.4.3:
Fixed an error when adding intervals to a Pendulum instance across DST transition.
Fixed an error when subtracting two pendulum instances in the same timezone.
2018-03-23 09:04:51 +00:00
adam
b44c89714d py-pendulum: updated to 1.4.2
1.4.2:
Fixed an offset error when subtracting datetimes in the same timezone.
Fixed wrong value returned by tzname() for the UTC timezone.
Fixed deepcopy() raising an error when using UTC.
2018-02-25 21:25:51 +00:00
adam
1be1870715 py-pendulum: updated to 1.4.1
1.4.1:
Fixed an error when comparing a Period to a timedelta in PyPy.
Fixed an offset error for datetimes between the before last and last transition.
Fixed unpickling with undefined / empty timezone name.
2018-02-08 16:42:40 +00:00
adam
4de7081ec4 py-pendulum: updated to 1.4.0
1.4.0:
Changed:
format(), diff_for_humans(), in_words() and to_xxx_string() methods now return unicode strings for Python 2.7.
Improved performance of now() and utcnow().

Fixed
Fixed from_format() raising an error with the alternative formatter.
2018-01-24 11:52:29 +00:00
adam
3a23bda684 py-pendulum: updated to 1.3.2
1.3.2
Fixed instance() behaviour with pytz offsets.
Fixed deepcopy / pickle compatibility for TimezoneInfo.
2017-11-17 11:18:49 +00:00
adam
5d025085a0 py-pendulum: updated to 1.3.1
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.
2017-10-28 09:06:26 +00:00
joerg
5510bdcc63 Add py-pendulum-1.2.5:
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.
2017-09-29 21:18:49 +00:00