Skip to content

Releases: HowardHinnant/date

v3.0.4

28 May 17:55
f94b8f3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.3...v3.0.4

v3.0.3

20 Oct 18:20
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.0.3

v3.0.2

12 Oct 15:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.0.2

Version 3.0.1

18 May 17:12
Compare
Choose a tag to compare

Scoop up miscellaneous bug fixes over the past year.

Version 3

09 Jun 01:38
Compare
Choose a tag to compare

This will likely be the final release of this library. From here you should migrate to C++20 as vendors begin to ship this library under namespace std::chrono.

The master branch will continue to be bug fixed as bugs arise. However a subsequent release may or may not happen.

The CMake support of this library is chaotic (to be kind). Personally I don't use it and instead follow the installation instructions found here: https://howardhinnant.github.io/date/tz.html#Installation (needed only for tz.h).

Version 2.4.1

20 Mar 23:55
Compare
Choose a tag to compare
  • Improved CMake support.
  • New names for months: January
  • New names for weekdays: Sunday
  • Parsing with %Ez now supports optional minutes field.
  • Miscellaneous bug fixes.

Version 2.4

29 Dec 20:21
Compare
Choose a tag to compare
  • Introduce CMake support.
  • Introduce clock_cast for converting between time_points of different clocks.
  • Allow conversion between zoned_time<Duration1, TimeZonePtr1> and zoned_time<Duration2, TimeZonePtr2>.
  • Miscellaneous porting and warning fixes.
  • Update to latest IANA website changes.

Version 2.3

26 Oct 22:45
Compare
Choose a tag to compare
  • Change directory structure to have include/ and src/.
  • Rename TZ_DB to tzdb (there's a backwards compatible typedef that may disappear in the future).
  • Specify constructors for nonexistent_local_time and ambiguous_local_time. This enables custom time zones to easily use them if needed.
  • Support multiple versions of the IANA database. The singleton is now a lock-free thread safe singly-linked list. The existing API implicitly references the front of this list.
  • Support custom time zones in zoned_time. See the Examples section in the tz documentation.
  • Add C++17 deduction guide support.
  • Give zoned_time a default constructor.
  • Give weekday_indexed a default constructor.
  • Add is_clock trait.
  • Add ONLY_C_LOCALE. Helps with systems with missing time_get/time_put facets.
  • Improve sub-picosecond support.
  • Minor bug and compatibility fixes.

Version 2.2

18 Jun 20:25
Compare
Choose a tag to compare
  • Rewrite of format and parse:
    • Many more types can be formatted and parsed with format and parse now.
      • durations, calendar types, tai_time, gps_time, ...
    • parse supports width parameter on many format flags.
    • to_stream and from_stream now return a reference to their streams.
    • Parsing whitespace very customizable with use of %n, %t and whitespace.
  • Using the OS-supplied timezone database now an option on Linux and macOS.
  • The downloaded timezone database install location can now be set at run time.
  • Improved support for basic_string with custom allocator.
  • duration I/O is merged into date.h.
  • Make zoned_time and time_of_day "deduction guide ready" for C++17.
    • This eliminates the need for make_zoned and make_time in C++17.
  • Many miscellaneous bug fixes.

Version 2.1

01 Jan 20:20
Compare
Choose a tag to compare
  • Set USE_SHELL_API to default to 1. This better supports
    different flavors of linux.
  • INSTALL can now be configured on the command line.
  • Parsing and formatting fractional seconds can now handle
    super-second durations such as microfortnights.
  • Formatting and parsing rewritten, moved into date.h.
  • iOS support added.
  • Added trivial default constructors for most calendar
    types.
  • Add unary operators + and - to year.
  • Add to_stream.
  • Miscellaneous bug fixes.