datetime-fortran v0.3.1
This release includes few updates:
-
strftimeis now adatetime-bound method, similar to Python'sdatetime.strftime(). The user does not need to be bothered anymore with generating atm_structfromdatetimeand calling Cstrftime. The interface to Cstrftimeis still available and has been renamed toc_strftimein the API to work around naming conflicts. -
strptimeis now a function that takes adatetimeinstance and format string as arguments. The user does not need to be bothered anymore with generating atm_structfromdatetimeand calling Cstrptime. The interface to Cstrptimeis still available and has been renamed toc_strptimein the API to work around naming conflicts. -
Bug fix in
datetime%addDays. This bug caused the library to calldaysInMonthwith a badmonth argumentwhen one would subtract from one month into previous month.