mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-19 16:12:19 +00:00
boost-1.82.0
* fix typo in time_period docs (#212) Co-authored-by: Quinn O'Connor <qoconnor@fastenal.com> * Fix constexpr of gregorian::date::date(special_values) to improve perf (#214) GCC up to at least 10.2 fail to resolve gregorian::date::date(special_values) as constexpr function due to assignment to *this within the constructor. Refactoring constructor to initialize the instance once leads to large performance improvement. * Avoid using likely function as multiple projects define a likely macro (#216) * Iso doc fixes (#215) * to_iso_*string() use "." as fractional separator The fractional separator for the various to_iso_* methods is "." not "," (per to_iso_string_type() implementation). Fix the documentation to match the implementation. * use "ISO 8601" not "iso" in documentation The standard is "ISO 8601", so use that instead of just "iso" or "ISO" in comments and documentation. * fractional seconds only included if non-zero (#110) Consistently document that the fractional seconds are only included if non-zero. Use "where fffffffff" not "were fff". * Fix ccache saving on cache hit (#211) See boostorg/boost-ci#166 * chore: bump macos runner version (#213) GitHub Action is sunsetting the macOS 10.15 Actions runner. It will stop working intermittently until being completely removed by 2022-8-30: https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22 Co-authored-by: Quinnsicle <qtoconnor@gmail.com> Co-authored-by: Quinn O'Connor <qoconnor@fastenal.com> Co-authored-by: Povilas Kanapickas <povilas@radix.lt> Co-authored-by: Antony Polukhin <antoshkka@gmail.com> Co-authored-by: Luke Mewburn <luke@mewburn.net> Co-authored-by: Alexander Grund <Flamefire@users.noreply.github.com> Co-authored-by: Baoshuo Ren <i@baoshuo.ren>
[skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. (#178)
DateTime, part of the collection of Boost C++ Libraries, makes programming with dates and times as simple and natural as programming with strings and integers.
License
Distributed under the Boost Software License, Version 1.0.
Properties
- C++03
- Header only
Build Status
| Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests |
|---|---|---|---|---|---|---|---|
master |
|||||||
develop |
Directories
Note that the built library is only for build backward compatibility and contains no symbols. date_time is now header only.
| Name | Purpose |
|---|---|
build |
build script for optional lib build |
data |
timezone database |
doc |
documentation |
example |
use case examples |
include |
headers |
src |
source code for optional link library |
test |
unit tests |
xmldoc |
documentation source |
More information
- Ask questions: Be sure to read the documentation first to see if it answers your question.
- Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit Pull Requests against the develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0. Be sure to include tests proving your changes work properly.
- Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the
[date_time]tag at the beginning of the subject line.
Languages
C++
98.4%
XSLT
0.6%
HTML
0.5%
Perl
0.3%
CMake
0.2%