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
..
2019-07-25 19:39:41 +03:00
2017-03-09 06:09:43 -08:00
2019-12-15 16:43:40 -08:00
2019-12-21 13:10:45 -08:00
2019-12-24 09:44:57 -08:00
2019-10-20 07:55:05 -07:00
2019-11-17 08:29:08 -08:00
2019-12-15 16:43:40 -08:00
2019-11-20 12:20:17 -08:00
2019-06-15 09:44:51 -07:00
2019-12-21 13:10:45 -08:00
2019-12-21 13:10:45 -08:00
2019-12-21 13:10:45 -08:00
2019-12-21 13:10:45 -08:00
2019-11-15 07:28:02 -08:00
2019-12-15 16:43:40 -08:00