date_time
date_time copied to clipboard
Boost.org date_time module
Boost 1.72.0, VS 2019, Windows 10, toolset v142 "l" is not recognized and appears unimplemented, attempted use causes abort to be called, no exception is thrown, suggested fix attached [time_facet.zip](https://github.com/boostorg/date_time/files/4697327/time_facet.zip)
In issue #13 (C++20 ambiguous comparison operator warning with clang 10) there's some discussion of how to support operator correctly in date_time. This is an issue to track that set...
Some warnings from develop with gcc9 in 2a mode. Warnings: teeks99-dkr-dg9-warn - date_time / gcc-9~c++2a~warn Rev b44058fda48dd994d394d4483472a7abe55031b8 / Sun, 22 Mar 2020 01:13:31 +0000 testdate_duration ../libs/date_time/test/gregorian/testdate_duration.cpp:44:22: warning: implicitly-declared 'constexpr boost::gregorian::date_duration&...
The following macros are missing a `BOOST_` prefix, which is against Boost library guidelines: ``` ./boost/date_time/wrapping_int.hpp:#ifndef _DATE_TIME_WRAPPING_INT_HPP__ ./boost/date_time/wrapping_int.hpp:#define _DATE_TIME_WRAPPING_INT_HPP__ ./boost/date_time/int_adapter.hpp:#ifndef _DATE_TIME_INT_ADAPTER_HPP__ ./boost/date_time/int_adapter.hpp:#define _DATE_TIME_INT_ADAPTER_HPP__ ./boost/date_time/time_facet.hpp:#ifndef _DATE_TIME_FACET__HPP__ ./boost/date_time/time_facet.hpp:#define _DATE_TIME_FACET__HPP__ ./boost/date_time/date_parsing.hpp:#ifndef _DATE_TIME_DATE_PARSING_HPP___ ./boost/date_time/date_parsing.hpp:#define...
I was looking for the US parser by comment and it was confusing not to find it. Line 38 in gregorian\parsers.hpp should read 'where with order month-day-year'. And thanks for...
This example does not compile: https://www.boost.org/doc/libs/1_71_0/doc/html/date_time/examples.html#date_time.examples.month_add error: ‘add_month’ was not declared in this scope
The deserialization of boost::gregorian::date in greg_serialize.hpp relies on exception handling ("catch(bad_lexical_cast&") for deserializing "special" values, which causes unnecessary delays in the typical case of deserializing uninitialized datetime values.
The [documentation](https://www.boost.org/doc/libs/1_70_0/doc/html/date_time/date_time_io.html#date_time.format_flags) for the format flags of date/time input facets state "%d - Day of the month as decimal 01 to 31. When used to parse input, **the leading zero...
compile this program: ``` #include #include #include #include #include using namespace boost::posix_time; using namespace boost::gregorian; using namespace std; int main(int argc, char *argv[]) { const int64_t count = 1000000; {...
hi please compile this program: #include #include #include using namespace boost::posix_time; using namespace std; #define x(v) cout