Commit Graph

  • dbee0e7da4 Allow parsing %Ez to parse only 1 hour digit. Howard Hinnant 2017-03-17 20:18:06 -04:00
  • d110f07f59 Clean up time_of_day tests. * Don't assume int64_t is the rep in the predefined chrono durations. Howard Hinnant 2017-03-14 11:05:33 -04:00
  • 9e1120c676 Make time_of_day default constructor non-explicit. Add zoned_time const char* overloaded constructor. Howard Hinnant 2017-03-12 15:18:53 -04:00
  • f4292e6aca Added Alloc argument to template parameters to support custom allocators in from_stream gaspardpetit 2017-03-08 13:03:22 -05:00
  • a811a20748 Fixes minor typos in comments - no actual change to code Gaspard Petit 2017-03-08 09:42:14 -05:00
  • c12319552a Add from_stream Howard Hinnant 2017-03-02 13:17:01 -10:00
  • 3df43424ac Add from_stream Howard Hinnant 2017-03-02 13:16:22 -10:00
  • 6466e58f94 Simplify the implementation of format and parse: Howard Hinnant 2017-02-26 14:10:25 -05:00
  • 1e7e7a214d Simplify the implementation of format and parse: Howard Hinnant 2017-02-26 14:10:10 -05:00
  • ffc8cd0a3b Add format and parse to tai_time, gps_time, year_month_day Howard Hinnant 2017-02-26 09:28:15 -05:00
  • 5263c7b54c Add format and parse to tai_time, gps_time, year_month_day Howard Hinnant 2017-02-26 09:28:01 -05:00
  • 4f89141e56 Rewrite format and parse in terms of detail::fields<Duration> * Add format and parse to utc_time<Duration>. * Added more tests. Howard Hinnant 2017-02-25 20:45:16 -05:00
  • e9d36c6200 Rewrite format and parse in terms of detail::fields<Duration> * Add format and parse to utc_time<Duration>. * Added more tests. Howard Hinnant 2017-02-25 20:44:59 -05:00
  • 3233cbaf9a Update link to latest proposal Howard Hinnant 2017-02-13 13:00:12 -05:00
  • 3e906a2409 Remove a leftover output to std::cout Jiangang (Jeff) Zhuang 2017-02-13 12:05:49 -05:00
  • c7f2995d0b Remove outdated warning about the version change. Howard Hinnant 2017-02-11 11:04:14 -05:00
  • 0d6de15043 Work around {} bug for older compilers * iso_week.h Howard Hinnant 2017-02-08 14:44:37 -05:00
  • 5c09ae73f2 Work around {} bug for older compilers Howard Hinnant 2017-02-08 11:32:33 -05:00
  • 098223cf6d Second try at silencing "unused" warning for strerror_r Howard Hinnant 2017-02-07 17:28:06 -05:00
  • 6a31edcb38 Silence "unused" warning for strerror_r Howard Hinnant 2017-02-06 10:18:40 -05:00
  • 800ae143aa Correct the return type on two format overloads Howard Hinnant 2017-02-06 10:18:08 -05:00
  • c1034550d2 Exclude expand_path when INSTALL is not defined Nicolas Veloz Savino 2017-01-30 14:36:44 -05:00
  • fa86a381d1 Add format and parse overloads for durations Howard Hinnant 2017-01-28 16:21:42 -05:00
  • 3a9880999d Add format and parse overloads for durations Howard Hinnant 2017-01-28 16:21:21 -05:00
  • ce67ee0997 Add License file Howard Hinnant 2017-01-26 19:42:42 -05:00
  • 2b8e6562ae Work around VS-2015 bug Howard Hinnant 2017-01-24 15:35:28 -05:00
  • 186dbb2891 Enable CONSTCD14 for VS2017 James Beach 2017-01-19 17:15:43 +00:00
  • 49a59e5665 Add support for unsigned-based durations in time_of_day Howard Hinnant 2017-01-14 12:54:03 -05:00
  • 095f66af28 resolve /etc/localtime by calling realpath Jiangang (Jeff) Zhuang 2017-01-13 21:00:17 -05:00
  • ea1717e8ab Define DATE_API empty when building static lib on Windows Jiangang (Jeff) Zhuang 2017-01-10 14:04:17 -05:00
  • 659cdca5dc Only define get_windows_zones_install() under TIMEZONE_MAPPING Howard Hinnant 2017-01-09 21:01:39 -05:00
  • 634b84eb60 Introduce set_install as suggested by PR 99 * Retain install variable as a function local static to maintain recent fixes to initialization order problems. Howard Hinnant 2017-01-07 18:27:40 -05:00
  • 41093d05d8 Use CONSTDATA in function parse making compiler without constexpr support happy Alexandre Dupas 2017-01-07 18:50:57 +01:00
  • c6f3dd2832 make the location of windowsZones.xml configurable Jiangang (Jeff) Zhuang 2017-01-04 16:01:27 -05:00
  • e203304afd Give DATE_API a default definition. Howard Hinnant 2017-01-05 20:24:46 -05:00
  • 4e44539a59 export symbols on Windows Jiangang (Jeff) Zhuang 2017-01-04 15:09:05 -05:00
  • 09537c4e19 Added missing #include <tuple> in tz.cpp Roel Standaert 2017-01-03 11:33:44 +01:00
  • 2935f80109 Have get_version check for the file named version first 2.1.0 Howard Hinnant 2017-01-01 15:02:08 -05:00
  • 4a1c49152f Enable previous fix for C++11 as well. Howard Hinnant 2017-01-01 14:51:10 -05:00
  • 07d9e8a0fe Enable the c++14 CONSTDATA code path for VS2017 and fix const const warning. gm 2017-01-01 18:01:20 +13:00
  • 6889dc69fb Add missing #include Howard Hinnant 2016-12-26 18:34:40 -05:00
  • 628404b87c Re-implement parse. * Work with const CharT* format at the lowest level. * Avoid dependence on std::lib except for locale-sensitive parsing. * Add tests for parse. Howard Hinnant 2016-12-26 16:27:56 -05:00
  • 2216bfbe44 Work around VS-2015 bug Howard Hinnant 2016-12-07 10:47:50 -05:00
  • 64ea0a5bc3 move file scope static variables into functions to deal with static initialization order problem Jiangang (Jeff) Zhuang 2016-12-02 19:11:17 -05:00
  • 8a3aeb566b Fix and test format %y Howard Hinnant 2016-11-27 15:30:01 -05:00
  • a5450e9d02 Fix and test format %C Howard Hinnant 2016-11-27 13:41:24 -05:00
  • e04ec9aa80 Fix type-o Howard Hinnant 2016-11-27 11:48:25 -05:00
  • 2310435582 Add a format test stressing range Howard Hinnant 2016-11-26 16:15:08 -05:00
  • 6b3ea4516a Fix bugs with formatting fractional seconds Howard Hinnant 2016-11-26 13:37:38 -05:00
  • 298e9aff2d Add to_stream which avoids temporary streams and strings. Howard Hinnant 2016-11-25 20:36:22 -05:00
  • 88f3c85517 Add to_stream which avoids temporary streams and strings. Howard Hinnant 2016-11-25 20:36:38 -05:00
  • 5eb10b747f Unify and simplify fractional decimal seconds formatting Howard Hinnant 2016-11-24 19:43:35 -05:00
  • 0cfa783b14 Unify and simplify fractional decimal seconds formatting Howard Hinnant 2016-11-24 19:43:14 -05:00
  • 44e0480087 Fix formatting bug with %Ez Howard Hinnant 2016-11-12 18:21:21 -08:00
  • 63e33bdf49 silence warnings in gcc 6.2 Paul Dreik 2016-11-12 15:19:46 +01:00
  • 33f7cc6de4 Fix overflow bug in parse Howard Hinnant 2016-11-08 12:59:00 -08:00
  • 27964fa642 Fix C++11 constexpr bug in year_lastweek_weekday::weeknum() Howard Hinnant 2016-11-02 14:21:26 -04:00
  • 887d7574b1 Default USE_SHELL_API to 1 Howard Hinnant 2016-10-23 18:58:00 -04:00
  • d99e39f5d8 Default USE_SHELL_API to 1 Howard Hinnant 2016-10-23 18:56:58 -04:00
  • bae66f2bff Update README.md Howard Hinnant 2016-10-22 13:42:36 -04:00
  • 1f7325ef7f Update README.md Howard Hinnant 2016-10-20 17:14:15 -04:00
  • ae68278245 Add unary operators + and - to year Howard Hinnant 2016-10-19 12:01:51 -04:00
  • 9f7a438f7d Add unary operators + and - to year Howard Hinnant 2016-10-19 12:01:26 -04:00
  • 9e25c2d74f Supply missing imbues in format Howard Hinnant 2016-10-18 11:52:07 -04:00
  • 769dc09f28 Minor polish Howard Hinnant 2016-10-16 23:13:36 -04:00
  • 41657bc50e Embellish issue 2. Howard Hinnant 2016-10-15 21:15:24 -04:00
  • dd209e205e Add issues list to d0355r1 Howard Hinnant 2016-10-15 21:02:01 -04:00
  • 5b2aa5f4be Lots of changes motivated by reviews Howard Hinnant 2016-10-15 17:32:14 -04:00
  • 806c29fddc Lots of minor changes motivated by reviews of the draft proposal Howard Hinnant 2016-10-15 17:31:08 -04:00
  • 501609bacf Make those time_point conversions which can be noexcept, noexcept Howard Hinnant 2016-10-12 19:48:45 -04:00
  • b2b1d520c5 Make those time_point conversions which can be noexcept, noexcept Howard Hinnant 2016-10-12 19:48:07 -04:00
  • 2c16e09438 Replace CharT with charT and Traits with traits Howard Hinnant 2016-10-12 19:32:31 -04:00
  • cfa55850c7 Fix dangling reference bug in parse Howard Hinnant 2016-10-11 10:31:44 -04:00
  • a7dd3132e0 Link R1 to Cppcon 2016 timezone presentation Howard Hinnant 2016-10-09 20:36:48 -04:00
  • 23ad937af0 Link to R0 Howard Hinnant 2016-10-09 20:19:41 -04:00
  • ff929570f9 Update readme with R1 draft proposal Howard Hinnant 2016-10-09 20:19:18 -04:00
  • 6133d1e636 Minor cleanups in the clocks Howard Hinnant 2016-10-09 20:13:02 -04:00
  • 176ffe7930 First commit of D0355R1 Howard Hinnant 2016-10-09 20:12:32 -04:00
  • fab89b205b Minor cleanups in the clocks Howard Hinnant 2016-10-09 20:11:11 -04:00
  • 2ba541b684 Merge branch 'master' of github.com:HowardHinnant/date Howard Hinnant 2016-10-08 16:07:01 -04:00
  • 026caba1c4 Remove static conversion functions from clocks Howard Hinnant 2016-10-08 16:06:37 -04:00
  • 81b5cc65f0 Remove static conversion functions from clocks Howard Hinnant 2016-10-08 16:05:10 -04:00
  • 381cbf9a7b Fix type-o in parse Howard Hinnant 2016-10-08 15:04:27 -04:00
  • f66af06870 Simplify implementation details of "chrono_io.h" Howard Hinnant 2016-10-08 15:03:33 -04:00
  • d02f762e32 Update README.md Howard Hinnant 2016-10-05 17:22:42 -04:00
  • 3f0540cefd Update README concerning new IANA versioning Howard Hinnant 2016-09-28 18:17:26 -04:00
  • 19c83e47ed Get local version from NEWS instead of Makefile Howard Hinnant 2016-09-28 18:08:50 -04:00
  • cedbe3c445 Update README.md Howard Hinnant 2016-09-23 18:44:23 -07:00
  • cb820f9090 Merge pull request #86 from saschazelzer/clang-fedora-support Howard Hinnant 2016-09-16 09:23:34 -04:00
  • 69ec0bb134 Clang on Fedora needs <climits> for the CHAR_BIT definition. Sascha Zelzer 2016-09-16 07:31:04 +02:00
  • 3fb4d32922 Update tests for default constructible calendar types Howard Hinnant 2016-09-15 20:21:56 -04:00
  • 641cd739c3 VS2013's std::vector does not support incomplete template types. Sascha Zelzer 2016-09-15 17:20:38 +02:00
  • 553affefa4 Work around a compiler bug in VS2013 with explicit conversion constructors. Sascha Zelzer 2016-09-15 15:41:08 +02:00
  • 570a1e699c Do not use user defined literals for VS2013 compatibility. Sascha Zelzer 2016-09-15 13:00:54 +02:00
  • e107bcdef2 Use NOEXCEPT macro for VS2013 compatibility. Sascha Zelzer 2016-09-15 13:00:23 +02:00
  • 765d0e8f7a Add parse manipulators Howard Hinnant 2016-09-14 22:05:24 -04:00
  • 4aacc0b0b3 Add parse manipulators Howard Hinnant 2016-09-14 22:05:47 -04:00
  • ddb826e490 format passes time_point by const& Howard Hinnant 2016-09-13 20:28:42 -04:00
  • 86446a9fac format passes time_point by const& Howard Hinnant 2016-09-13 20:28:00 -04:00
  • bcdf8acb8b Add trivial default constructors to most calendar types Howard Hinnant 2016-09-13 20:15:24 -04:00