fmt/test
zeffy 1acb73f970 Fix formatting std::chrono::duration types to wide strings (#1533)
* Fix formatting chrono durations to wide strings

* Make format buffers const correct

* Add FormatWide chrono test case

* Fix incorrect wide encoding of 'µs'
I think might be a source file encoding issue, so I used \u00B5 instead.

* Update FormatWide test to use proper encoding of µs

* Revert changes to format_localized's parameters

* Use different overload of `std::time_put<T>::put` to avoid needing a format string

* Use utf8_to_utf16 instead of having redundant overloads of get_units

* Revert some minor changes

* Remove FMT_CONSTEXPR from expression

This should hopefully fix compilation on VS <2019

* Make suggested changes from code review

* Run clang-format on chrono.h

* Make sure unit isn't null before constructing a string_view from it
2020-01-23 18:48:36 -08:00
..
add-subdirectory-test
compile-error-test
cuda-test
find-package-test
fuzzing
gmock
gtest
assert-test.cc Fix dangling else problem in FMT_ASSERT 2019-11-30 07:52:33 -08:00
chrono-test.cc Fix formatting std::chrono::duration types to wide strings (#1533) 2020-01-23 18:48:36 -08:00
CMakeLists.txt Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
color-test.cc
compile-test.cc
core-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
custom-formatter-test.cc
format Use type_identity to block unnecessary template argument deduction (thanks Tim Song) 2020-01-15 10:27:50 -08:00
format-impl-test.cc Deprecate u8string_view 2019-12-24 09:44:57 -08:00
format-test.cc Disallow passing non-string-literals to FMT_STRING 2020-01-22 21:05:46 -08:00
gmock-gtest-all.cc
grisu-test.cc
gtest-extra-test.cc
gtest-extra.cc Don't use POSIX API on UWP 2019-11-17 08:29:08 -08:00
gtest-extra.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00
header-only-test2.cc
header-only-test.cc
locale-test.cc Merge write_fp into write 2019-11-20 12:20:17 -08:00
mock-allocator.h
os-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
ostream-test.cc Fix handling of types convertible to std::string_view 2019-12-09 13:25:08 -08:00
posix-mock-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
posix-mock.h
printf-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
ranges-test.cc
scan-test.cc
scan.h Clean-up sign-conversion warnings in test code 2019-12-08 16:07:43 -08:00
std-format-test.cc Apply clang-format 2019-12-21 13:10:45 -08:00
test-assert.h
test-main.cc
util.cc
util.h Rename posix-test to os-test 2019-12-15 16:43:40 -08:00