Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 2.91 KB

CHANGELOG.markdown

File metadata and controls

87 lines (63 loc) · 2.91 KB

0.7.3

  • Remove the ?else macro.

0.7.2

  • Update the error message when qdate is not started with some better instructions.
  • Some minor updates for hex.pm
  • Removed the erlnow() warning
  • Fix some typos in the documentation
  • Update the makefile to use rebar3.mk
  • Skipped 0.7.1 only because there was a partially tagged 0.7.1 for a while, but was never published to hex. Just to ensure upgrades are easier, I just skipped a proper 0.7.1 release

0.7.0

  • Re-introduce the qdate server for storing qdate timezones, formats, and parsers, rather than overloading the application env vars (since the application module only wants keys to be atoms).
  • Convert to using qdate_localtime 1.2.0 (which passes dialyzer checks)
  • qdate is passing dialyzer again

0.6.0

  • Add age and age_days functions
  • Add option to preserve millisecond accuracy in date parsing and formatting (@Leonardb)

0.5.0

  • Add range_X functions for getting a list of dates/times within a range (such as range_day/3 to get a range of days between a start and end date.
  • Add beginning_X functions to return the beginning of the provided precision (minute, hour, day, week, month, or year)
  • Add end_X functions to return the last second of each time period (this is just the opposite of beginning_X)
  • Add between/[2,3,5] functions for computing whether a date/time is between two others.
  • Update to rebar3 and add hex compatibility. (@Licenser)
  • Properly add dependent apps to .app.src (@Licenser)
  • Add an optional "relative date/time parser".
  • Fix: Ensure get_timezone() returns the default timezone (from config) if it hasn't been set by get_timezone()
  • Fix UTC/GMT bug (@loudferret)
  • Fix Erlang 21 Stacktrace changes (@tnt-dev)
  • Set a better rebar2 version of erlware commons (@tnt-dev)

0.4.2

  • Add partial support for ec_date's 4-tuple subsecond accuracy time format.
  • Fix erlware_commons dependency to a rebar2-compatible version.

0.4.1

  • Remove unnecessary io:format call.

0.4.0

  • Remove dependency on a running server for tracking application state. Instead, parsers and formats are registered to the application environment vars (e.g. application:get_env), and timezones are registered to the application environment or the process dictionary. A side-effect of this change is that you can no longer query another process's timezone.
  • Add basic date arithmetic (e.g. qdate:add_hours/[1-2], etc).
  • Add get_formats() and get_parsers() to see list of registered formats and parsers.
  • Fix bug related to relying on the application environment variable default_timezone

0.3.0

  • Add Timezone/Daylight Saving Disambiguation
  • Add the auto timezone shortcut
  • Fix rebar.config to allow for compilation on Erlang 17

0.2.1

  • Fix allowing timezone names to be binary

0.2.0

  • Adding qdate:compare/2,3 for easily comparing dates

0.1.0

  • Initial Release