Commit Graph

  • 03b27e0875 Address reviewer comments Howard Hinnant 2018-03-16 10:56:23 -04:00
  • a22227a1c3 Address reviewer comments Howard Hinnant 2018-03-16 08:17:29 -04:00
  • fad8bb11bd Rev version Howard Hinnant 2018-03-16 06:48:27 -04:00
  • 1a399845f0 Initial commit for d0355r7 Howard Hinnant 2018-03-16 06:47:20 -04:00
  • 98c37dd3ee Address reviewer comments Howard Hinnant 2018-03-15 16:09:16 -04:00
  • b824f98305 Address reviewer comments Howard Hinnant 2018-03-15 11:06:04 -04:00
  • 1690090d4e Address reviewer comments Howard Hinnant 2018-03-15 10:14:26 -04:00
  • bc8cf368e5 Update readme link to d0355r6 Howard Hinnant 2018-03-14 22:50:18 -04:00
  • 1e8ab50f82 Test modifications for standardization Howard Hinnant 2018-03-14 22:48:33 -04:00
  • 683f294f42 d0355r6 Howard Hinnant 2018-03-14 22:45:07 -04:00
  • 38c5ca38bb Typo fixes in comment text Marsh Ray 2018-03-04 15:23:16 -08:00
  • 0bde4ba8c8 Make the parsing of minutes optional under the flag %z Howard Hinnant 2018-03-03 11:54:48 -05:00
  • e5ac158f0f Make the parsing of minutes optional under the flags %z Howard Hinnant 2018-03-03 11:56:22 -05:00
  • afe61df277 Fix case of generated dateConfig so it will work on a case sensitive filesystem Don Smyth 2018-03-02 13:31:17 -08:00
  • 43d8a4eab0 Range check minutes under parse Howard Hinnant 2018-03-02 08:59:45 -05:00
  • ca4036a4b0 Explicitly qualify std::string. Having a global scope string type shall not break the compilation anymore. mwu 2018-02-21 14:56:42 +01:00
  • a1ceec19fe Workaround for MSVC Alexander Karatarakis 2018-02-13 17:12:39 -08:00
  • 5524dd1ae8 Update README.md Howard Hinnant 2018-02-15 18:49:37 -05:00
  • e87abb9125 Remove remote_install and remote_download from synopsis Howard Hinnant 2018-02-11 16:48:49 -05:00
  • 4ada98d247 Enable testing in CMakeLists.txt Howard Hinnant 2018-01-28 18:40:46 -05:00
  • 040eed838b Augment path to ios.h Howard Hinnant 2018-01-26 19:53:51 -05:00
  • 2acf403bcd Dont include ios.h unconditionally. Benno Evers 2018-01-03 12:05:12 +01:00
  • 637e5d8007 Use target_compile_definitions Tommy Nguyen 2018-01-09 20:09:11 -05:00
  • 362cd8f27e Account for WIN32 Tommy Nguyen 2018-01-10 17:06:42 -05:00
  • a4ce4bc2d3 Use correct target Tommy Nguyen 2018-01-10 17:03:14 -05:00
  • 3e5a57467a Export a CMake config file Tommy Nguyen 2018-01-09 19:53:06 -05:00
  • 3b8372f4fa Avoid use of undeclared to_utc_time. Howard Hinnant 2018-01-18 15:55:58 -05:00
  • 6941691de4 implement current_zone() for iOS using native API from iOSUtils Xuesong Hu 2018-01-12 10:56:15 -08:00
  • 09b78ba92c bump msvc define to fix compile issue on MSVC 15.6 Michael Maroszek 2018-01-12 10:39:48 +01:00
  • 28c1c61ac2 Advertise that this works in C++17 Howard Hinnant 2018-01-08 09:54:42 -05:00
  • e30c3f24b8 Add missing constexpr in many places Howard Hinnant 2018-01-07 14:19:36 -05:00
  • 55289f0d73 Make tz_dir a function-local static Howard Hinnant 2018-01-05 19:26:44 -05:00
  • b7e58e193f Set standard or default to C++17 Darrell Wright 2018-01-03 13:40:17 -05:00
  • 2b6ee6378c minutes fix Scott Beil 2018-01-04 20:50:36 -06:00
  • 7d80d89a44 Allow specifying cxx standard to target Darrell Wright 2017-12-31 16:33:07 -05:00
  • fb048ec928 Add -lole32 to mingw installation instructions Howard Hinnant 2017-12-26 15:21:01 -05:00
  • f3647d3e6c Remove references to strftime Howard Hinnant 2017-12-26 15:20:42 -05:00
  • d9052cffa2 rename and mark-as-advanced the following cmake-variable used in function print_option: CURR_${OPT} -> PRINT_OPTION_CURR_${OPT} so that the date-project now has the following advanced cmake-variables: PRINT_OPTION_CURR_BUILD_TZ_STATIC PRINT_OPTION_CURR_USE_SYSTEM_TZ_DB PRINT_OPTION_CURR_USE_TZ_DB_IN_DOT v2.4 ajneu 2017-12-26 21:00:29 +01:00
  • 447687870f - Interface library name changed from date to date_interface - Print state of set options - cleanup on duplicate ${CMAKE_THREAD_LIBS_INIT} ajneu 2017-12-02 20:24:42 +01:00
  • dbd6e6e388 cmake: remove include_directories() command that is missing directory ajneu 2017-12-01 21:46:36 +01:00
  • 9178193ad2 cmake: date as INTERFACE target, to enable automatic include_directory (for cases where just date.h, but not "tz.h and its lib" are needed) ajneu 2017-12-01 21:15:32 +01:00
  • 44c2515280 Use the highest possible C++ standard (#18) Roey Darwish Dror 2017-12-25 17:14:50 +02:00
  • 0af7654764 Fix iOS build Joshua Jackson 2017-12-11 05:45:27 -06:00
  • 1eeb4cd652 Prepare for the new definition of IST Howard Hinnant 2017-12-08 13:08:40 -05:00
  • b49bdc3ca7 Add missing include <memory> for unique_ptr Howard Hinnant 2017-12-06 10:12:49 -05:00
  • d6ae81acb3 Correct "double %Ez" type-o, two places. Howard Hinnant 2017-12-04 10:09:31 -05:00
  • c7e5a4d08e Add posix-style time zone example: ptz.h Howard Hinnant 2017-12-03 14:40:01 -05:00
  • 5653e9e3a9 Fixes CURLE_SSL_CACERT (60) when downloading tzdata2017c.tar.gz Peter Karlovsek 2017-12-01 17:53:24 +01:00
  • d3b8d4af8d use target_include_directories instead of include_directories Andreas Stallinger 2017-11-29 15:27:24 +01:00
  • c2e139ef53 Replace realpath with readlink Howard Hinnant 2017-11-30 17:17:28 -05:00
  • a3e8f399c4 ifdef out clock_cast for VC-2017 and earlier Howard Hinnant 2017-11-30 15:40:37 -05:00
  • 443a29df53 Improve range check on year Howard Hinnant 2017-11-30 12:06:51 -05:00
  • 1902b8e8fb Range check year on parse Howard Hinnant 2017-11-30 10:45:30 -05:00
  • c513a20691 Fix off-by-one bug in iso_week::year_lastweek_weekday Howard Hinnant 2017-11-30 10:28:14 -05:00
  • 87ed7f83cf Correct IANA data download URL Howard Hinnant 2017-11-27 12:44:21 -05:00
  • f8cc62c396 Changed naming so that it is parent folder name _pass or _fail (e.g.) date_test_fail_<test_name> and date_test_pass_<test_name> As this should be easier to sort Darrell Wright 2017-11-27 00:16:24 -05:00
  • 2d2b65906a Set so that the pass tests are all tests that do not end in .fail.cpp Darrell Wright 2017-11-27 00:11:03 -05:00
  • 53629fa30c No longer hardwiring subfolders of test Hid build errors on should fail tests Darrell Wright 2017-11-27 00:00:14 -05:00
  • 748a1fd5a9 Updated testing so that failures of the should fail tests will compile but will return 1 in testing if they actually built Darrell Wright 2017-11-26 23:22:29 -05:00
  • 524517b369 Added scripts to do fail testing Darrell Wright 2017-11-26 23:11:58 -05:00
  • 98ae1e5241 part 1 of merge request Darrell Wright 2017-11-26 23:09:46 -05:00
  • 9b88763dbf Remove noexcept from tai_clock::now() and gps_clock::now() Howard Hinnant 2017-11-26 21:24:45 -05:00
  • 16c5f5885f Add clock_cast Howard Hinnant 2017-11-26 20:45:20 -05:00
  • f3741d68ff Removed OpenSSL requirement. Curl, if it supports SSL, will pull it in. Tested on Ubuntu so far Darrell Wright 2017-11-26 15:44:22 -05:00
  • 080df4988f excluded testit from Windows Darrell Wright 2017-11-24 23:58:18 -05:00
  • 1f27fb7d42 Cannot set USE_OS_TZDB=1 on Windows Darrell Wright 2017-11-24 23:54:38 -05:00
  • 3e47883c41 Added compile option BUILD_STATIC that defaults to ON to build static libraries. Set to off to build shared Darrell Wright 2017-11-24 23:24:19 -05:00
  • 3a33cdca7d Fixed WORKING_DIR path on testit target to use project root as base Darrell Wright 2017-11-24 23:19:07 -05:00
  • 3c4f0b5ada Changed testing approach and added gitignore Darrell Wright 2017-11-24 23:16:02 -05:00
  • c0a3e528a3 Typo Darrell Wright 2017-11-24 23:08:19 -05:00
  • 9c67d94f2f Started adding test building Darrell Wright 2017-11-24 23:07:39 -05:00
  • 9c39772731 Create CMakeList.txt Darrell Wright 2017-11-24 21:34:36 -05:00
  • 15a63ec819 Updated on behalf of schmidt9 Howard Hinnant 2017-11-26 14:41:40 -05:00
  • 632d115812 Add clock_cast documentation Howard Hinnant 2017-11-26 13:51:38 -05:00
  • 543315b700 Reversed order of arguments to clock_time_conversion. Tomasz Kamiński 2017-11-25 22:14:51 +01:00
  • 7c69f1570d Changed invocation to match specification Tomasz Kamiński 2017-11-25 22:01:10 +01:00
  • dd91be668e Added deprecated functions test for real Tomasz Kamiński 2017-11-24 23:42:18 +01:00
  • b13c859ff1 Restored deprecated to_clock_time function. Tomasz Kamiński 2017-11-24 23:34:19 +01:00
  • d4592bd497 Maked clock_time_conversion as const and used alias. Tomasz Kamiński 2017-11-24 23:20:39 +01:00
  • 9910f5fcc3 Moved clock_cast test to separate dir. Tomasz Kamiński 2017-11-24 22:30:54 +01:00
  • 58a4a9518a Mismatch in return type of converting function is now hard error. Tomasz Kamiński 2017-11-24 22:22:06 +01:00
  • 5a9b44a37a Implemented test for casting non-wall clocks and detecting that clocks cannot be casted. Tomasz Kamiński 2017-11-22 22:01:02 +01:00
  • a9d2907fa1 Implemented test for custom clocks derived from sys_clock. Tomasz Kamiński 2017-11-19 18:47:18 +01:00
  • bf5a4f3cd5 Implemented test for existing clocks. Tomasz Kamiński 2017-11-19 17:52:45 +01:00
  • e1099ef3ab Implemented clock_cast function. Tomasz Kamiński 2017-11-19 15:25:56 +01:00
  • 4614ebda4a Update to accomidate change of iana url #241 Darrell Wright 2017-11-23 20:25:00 -05:00
  • c286981b3b Fix improper application of GCC diagnostic suppression Howard Hinnant 2017-11-21 10:07:31 -05:00
  • 9ca582d9da Silence GCC conversion warning for bitfields Howard Hinnant 2017-11-20 14:50:48 -05:00
  • f4b12ab023 Adjust HAS_CHRONO_ROUNDING macro for MSVC with v140_clang_c2 and LLVM-vs2014 Tullio Menga 2017-11-20 16:42:42 +01:00
  • bd51baf31e msvc token workaround Alexander Karatarakis 2017-11-17 14:57:39 -08:00
  • 16439a8ce2 enhance tz_dir detection for buildroot with uclibc systems Michael Maroszek 2017-11-15 13:27:04 +01:00
  • d97bc984c7 Change default_zone from "UTC" to "Etc/UTC" Howard Hinnant 2017-11-19 18:17:09 -05:00
  • c9ef0a8f05 express reverse_bytes in an easy to optimize way optimizes to single bswap instruction on gcc and clang Aaron Bishop 2017-11-11 15:54:36 -05:00
  • 4832ea0ddb Move HAS_STRING_VIEW to date.h Howard Hinnant 2017-11-17 11:08:39 -05:00
  • ec514101a6 minor patches to build on Windows with MSVC v140_clang_c2 and LLVM-vs2014 Tullio Menga 2017-11-15 12:22:21 +01:00
  • 517c0f2704 Update C++ standards proposal status Howard Hinnant 2017-11-12 06:27:50 -05:00
  • e12f7c66f0 Unconstrain make_zoned for VS-2015 Howard Hinnant 2017-11-07 13:01:16 -07:00
  • a2261d3a1e Fix misspellings Howard Hinnant 2017-11-07 10:42:05 -07:00
  • 739dd1ee51 Replace undefined behavior with unspecified behavior Howard Hinnant 2017-11-03 13:18:51 -04:00
  • 3a5e8c9384 Silence clang warning Howard Hinnant 2017-10-30 13:48:09 -04:00