mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
1acb73f970
* 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 |
||
---|---|---|
.. | ||
add-subdirectory-test | ||
compile-error-test | ||
cuda-test | ||
find-package-test | ||
fuzzing | ||
gmock | ||
gtest | ||
assert-test.cc | ||
chrono-test.cc | ||
CMakeLists.txt | ||
color-test.cc | ||
compile-test.cc | ||
core-test.cc | ||
custom-formatter-test.cc | ||
format | ||
format-impl-test.cc | ||
format-test.cc | ||
gmock-gtest-all.cc | ||
grisu-test.cc | ||
gtest-extra-test.cc | ||
gtest-extra.cc | ||
gtest-extra.h | ||
header-only-test2.cc | ||
header-only-test.cc | ||
locale-test.cc | ||
mock-allocator.h | ||
os-test.cc | ||
ostream-test.cc | ||
posix-mock-test.cc | ||
posix-mock.h | ||
printf-test.cc | ||
ranges-test.cc | ||
scan-test.cc | ||
scan.h | ||
std-format-test.cc | ||
test-assert.h | ||
test-main.cc | ||
util.cc | ||
util.h |