mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-20 14:22:45 +00:00
Update changelog
This commit is contained in:
parent
403b271ed7
commit
4c98561979
@ -133,7 +133,24 @@
|
||||
`#3232 <https://github.com/fmtlib/fmt/pull/3232>`_).
|
||||
Thanks `@ShawnZhong (Shawn Zhong) <https://github.com/ShawnZhong>`_.
|
||||
|
||||
* [Experimental: implemented glibc extension for padding seconds, minutes and
|
||||
* Fixed formatting of time points before the epoch
|
||||
(`#3117 <https://github.com/fmtlib/fmt/issues/3117>`_,
|
||||
`#3261 <https://github.com/fmtlib/fmt/pull/3261>`_).
|
||||
For example (`godbolt <https://godbolt.org/z/f7bcznb3W>`__):
|
||||
|
||||
.. code:: c++
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
|
||||
int main() {
|
||||
auto t = std::chrono::system_clock::from_time_t(0) -
|
||||
std::chrono::milliseconds(250);
|
||||
fmt::print("{:%S}\n", t); // prints 59.750000000
|
||||
}
|
||||
|
||||
Thanks `@ShawnZhong (Shawn Zhong) <https://github.com/ShawnZhong>`_.
|
||||
|
||||
* Experimental: implemented glibc extension for padding seconds, minutes and
|
||||
hours (`#2959 <https://github.com/fmtlib/fmt/issues/2959>`_,
|
||||
`#3271 <https://github.com/fmtlib/fmt/pull/3271>`_).
|
||||
Thanks `@ShawnZhong (Shawn Zhong) <https://github.com/ShawnZhong>`_.
|
||||
@ -216,23 +233,6 @@
|
||||
|
||||
* Improved handling of invalid Unicode in paths.
|
||||
|
||||
* Fixed formatting of time points before the epoch
|
||||
(`#3117 <https://github.com/fmtlib/fmt/issues/3117>`_,
|
||||
`#3261 <https://github.com/fmtlib/fmt/pull/3261>`_).
|
||||
For example (`godbolt <https://godbolt.org/z/f7bcznb3W>`__):
|
||||
|
||||
.. code:: c++
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
|
||||
int main() {
|
||||
auto t = std::chrono::system_clock::from_time_t(0) -
|
||||
std::chrono::milliseconds(250);
|
||||
fmt::print("{:%S}\n", t); // prints 59.750000000
|
||||
}
|
||||
|
||||
Thanks `@ShawnZhong (Shawn Zhong) <https://github.com/ShawnZhong>`_.
|
||||
|
||||
* Enabled compile-time checks on Apple clang 14 and later
|
||||
(`#3331 <https://github.com/fmtlib/fmt/pull/3331>`_).
|
||||
Thanks `@cloyce (Cloyce D. Spradling) <https://github.com/cloyce>`_.
|
||||
|
Loading…
Reference in New Issue
Block a user