Releases: HowardHinnant/date
Releases · HowardHinnant/date
v3.0.4
What's Changed
- improve
test_fail.sh
by @fkobi in #862 - test/solar_hijri_test/parse.pass.cpp: specify unsigned type in loop by @fkobi in #863
- Fixed curl linkage when building date-tz by @BestITUserEUW in #814
- Remove deprecated whitespace for Clang 20.1.0 by @jonkeane in #869
- Address remaining 'whitespace in literal' upsetting clang++-20 by @eddelbuettel in #870
- Use
ru{}
in favor ofrs{}
where it makes sense by @DavisVaughan in #873 - Don't negate
toff
if we've already failed by @DavisVaughan in #875 - CMake: Fix Apple Mobile platforms detection by @TheStormN in #877
New Contributors
- @BestITUserEUW made their first contribution in #814
- @jonkeane made their first contribution in #869
- @eddelbuettel made their first contribution in #870
Full Changelog: v3.0.3...v3.0.4
v3.0.3
v3.0.2
What's Changed
- Remove trailing whitespace and add gitattributes by @aaronfranke in #672
- call from_stream explicitly from date namespace to avoide mix up with C++20 std::chrono::from_stream by @JulZimmermann in #677
- static_cast to silent warning implict conversion by @nico-engels in #693
- Fix uninitialized values in date.h by @crawlserv in #698
- cmake: update project version by @Tachi107 in #699
- fix -Wshadow warnings by @tylawin in #700
- test: use -pthread when $CXX is g++ by @Tachi107 in #714
- Sync implementation and header signatures by @DavisVaughan in #724
- Fix comment typo in tz.h by @jwakely in #765
- Fix compilation when MISSING_LEAP_SECONDS is set to true by @techtim in #780
- Expose
iso_week::year::is_leap()
by @DavisVaughan in #785 - workaround for gcc bug 106757 by @msherman13 in #821
- Support Android for get current_zone() by @ndusart in #628
- Allow option() override by FetchContent by @TheStormN in #813
- Fix typo by @kkarbowiak in #808
- Support tz databases from release 2023d and newer by adding new zonenow.tab file to ignore list by @enolan-maystreet in #829
- Update gitattributes of zip files to binary by @KrisThielemans in #816
- build(cmake): always mark HAS_STRING_VIEW as part of the interface by @Tachi107 in #766
- build: use standard
CMAKE_INSTALL_INCLUDEDIR
for header install folder by @OlivierLDff in #753 - build: introduce
ENABLE_DATE_INSTALL
to allow user opt-out of install by @OlivierLDff in #752 - Stop using PATH_MAX by @Tachi107 in #744
- Implement USE_OS_TZDB for Android by @basilgello in #842
- Fixed build for WinRT and Android by @eugenegff in #804
- Fix expected file format under Windows. by @andreygorbachevrabobank in #845
- Fix current_zone not working on buildroot+glibc target - refs #846 by @Julien-Blanc-tgcm in #847
New Contributors
- @aaronfranke made their first contribution in #672
- @JulZimmermann made their first contribution in #677
- @nico-engels made their first contribution in #693
- @crawlserv made their first contribution in #698
- @tylawin made their first contribution in #700
- @techtim made their first contribution in #780
- @msherman13 made their first contribution in #821
- @ndusart made their first contribution in #628
- @TheStormN made their first contribution in #813
- @kkarbowiak made their first contribution in #808
- @enolan-maystreet made their first contribution in #829
- @KrisThielemans made their first contribution in #816
- @OlivierLDff made their first contribution in #753
- @basilgello made their first contribution in #842
- @andreygorbachevrabobank made their first contribution in #845
- @Julien-Blanc-tgcm made their first contribution in #847
Full Changelog: v3.0.1...v3.0.2
Version 3.0.1
Scoop up miscellaneous bug fixes over the past year.
Version 3
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
- 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
- Introduce CMake support.
- Introduce
clock_cast
for converting between time_points of different clocks. - Allow conversion between
zoned_time<Duration1, TimeZonePtr1>
andzoned_time<Duration2, TimeZonePtr2>
. - Miscellaneous porting and warning fixes.
- Update to latest IANA website changes.
Version 2.3
- 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
- Rewrite of
format
andparse
:- 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.
- Many more types can be formatted and parsed with format and parse now.
- 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
andmake_time
in C++17.
- This eliminates the need for
- Many miscellaneous bug fixes.
Version 2.1
- 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.