Skip to content

Commit

Permalink
Merge pull request #311 from Unidata/v1.6.3rel
Browse files Browse the repository at this point in the history
version 1.6.3 release
  • Loading branch information
jswhit authored Oct 19, 2023
2 parents 5b421dd + c9706f2 commit a89b36a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
since version 1.6.2 release
===========================
version 1.6.3 (release tag v1.6.3rel)
=====================================
* add support for formats without separators in strptime (e.g. '20200229', issue #301).
This required removing support for > 4 digit years.
* set the c_api_binop_methods compiler directive to True to retain Cython 0.x
behavior for arithmetic operators for Cython >= 3.0.0 (issue #271).
* support for python 3.12.

version 1.6.2 (release tag v1.6.2rel)
=====================================
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Time-handling functionality from netcdf4-python

## News
For details on the latest updates, see the [Changelog](https://github.com/Unidata/cftime/blob/master/Changelog).

10/20/2023: Version 1.6.3 released. Support for python 3.12, cython 3.0, strptime formats without separators.

9/18/2022: Version 1.6.2 released. strptime method added, fix for num2date failure on
empty integer array, date2num 'longdouble' keyword added. New wheel building workflow.
Expand Down
2 changes: 1 addition & 1 deletion src/cftime/_cftime.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cdef int[12] _dayspermonth_leap = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 3
cdef int[13] _cumdayspermonth = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365]
cdef int[13] _cumdayspermonth_leap = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366]

__version__ = '1.6.2'
__version__ = '1.6.3'

# Adapted from http://delete.me.uk/2005/03/iso8601.html
# Note: This regex ensures that all ISO8601 timezone formats are accepted - but, due to legacy support for other timestrings, not all incorrect formats can be rejected.
Expand Down

0 comments on commit a89b36a

Please sign in to comment.