Skip to content

Releases: wavebitscientific/datetime-fortran

datetime-fortran-1.2.0

17 Jan 03:47

Choose a tag to compare

Changes relative to v1.1.0:

  • Data encapsulation for datetime and timedelta classes. Their components are now private and can be accessed through corresponding getter functions;
  • Added constructors for datetime and timedelta classes. Maintain compatibility with previous version's default constructors;
  • datetime % add* methods are now private. This is the only possibly-API-breaking change, but these were not meant to be used by client code in the first place;
  • Style change to more popular lowercase for Fortran reserved words;
  • Few bug fixes (thanks to Marco Galli).

datetime-fortran v1.1.0

19 Jun 05:24

Choose a tag to compare

This release is licensed under the BSD-3 clause and includes a number of minor bug fixes.

datetime-fortran v1.0.0

27 Sep 19:56

Choose a tag to compare

First stable release. Includes unit tests and minor bug fixes and enhancements.

datetime-fortran v0.4.0

16 May 21:52

Choose a tag to compare

Added the datetimeRange function. See README.md for the API.

Bug fix in datetime % secondsSinceEpoch function. Thanks to Dominikus Heinzeller.

datetime-fortran v0.3.1

31 Mar 23:37

Choose a tag to compare

This release includes few updates:

  1. strftime is now a datetime-bound method, similar to Python's datetime.strftime(). The user does not need to be bothered anymore with generating a tm_struct from datetime and calling C strftime. The interface to C strftime is still available and has been renamed to c_strftime in the API to work around naming conflicts.

  2. strptime is now a function that takes a datetime instance and format string as arguments. The user does not need to be bothered anymore with generating a tm_struct from datetime and calling C strptime. The interface to C strptime is still available and has been renamed to c_strptime in the API to work around naming conflicts.

  3. Bug fix in datetime%addDays. This bug caused the library to call daysInMonth with a bad month argument when one would subtract from one month into previous month.

datetime-fortran v0.2.1

16 Feb 19:41

Choose a tag to compare

Bug fix release. Includes a bug fix in clock%tick method.

datetime-fortran v0.1.5

09 Feb 04:05

Choose a tag to compare

Bug fix release. Contains an important bug fix in datetime%addDays().

datetime-fortran-0.1.3

24 Oct 04:02

Choose a tag to compare

This release includes:

  1. Bug fix by Bjoern Hendrik Fock to datetime%utc() routine (division by zero when calling utc() with a datetime instance already in UTC timezone);

  2. datetime%now() routine now also uses the timezone information provided by the call to the date_and_time() intrinsic subroutine. The datetime instance will have timezone of the machine time.

datetime-fortran-0.1.1

24 Oct 03:52

Choose a tag to compare

This releases includes minor bug fixes.

datetime-fortran-0.1.0

05 Aug 04:11

Choose a tag to compare

First public release.