Skip to content

Reuse tm_writer in other formatters - #2586

Merged
vitaut merged 3 commits into
fmtlib:masterfrom
phprus:chrono-reuse-tm-1
Nov 14, 2021
Merged

vitaut merged 3 commits into
fmtlib:masterfrom
phprus:chrono-reuse-tm-1

Conversation

@phprus

@phprus phprus commented Nov 5, 2021

Copy link
Copy Markdown
Contributor

All locale-dependent formatting is now in the tm_writer class.

@phprus
phprus force-pushed the chrono-reuse-tm-1 branch from 98ac2e2 to 81350e1 Compare November 6, 2021 16:15
@phprus

phprus commented Nov 6, 2021

Copy link
Copy Markdown
Contributor Author

Rebased

@vitaut

vitaut commented Nov 6, 2021

Copy link
Copy Markdown
Contributor

Thanks for another PR. It looks like the first commit only moves code around without changing functionality so could you move it to a separate PR to simplify reviewing this one?

@phprus phprus mentioned this pull request Nov 6, 2021
@phprus

phprus commented Nov 6, 2021

Copy link
Copy Markdown
Contributor Author

Yes. To use tm_writer, it must be declared before.
PR #2591

@phprus

phprus commented Nov 11, 2021

Copy link
Copy Markdown
Contributor Author

@vitaut , PR updated.

Comment thread include/fmt/chrono.h Outdated
Comment thread include/fmt/chrono.h Outdated
Comment thread include/fmt/chrono.h Outdated
@phprus
phprus force-pushed the chrono-reuse-tm-1 branch 2 times, most recently from 9a987ac to c7abf2c Compare November 12, 2021 18:02
@phprus

phprus commented Nov 12, 2021

Copy link
Copy Markdown
Contributor Author

Waiting for #2594 ...

@phprus
phprus marked this pull request as draft November 12, 2021 19:29
@phprus
phprus marked this pull request as ready for review November 12, 2021 21:16
@phprus

phprus commented Nov 12, 2021

Copy link
Copy Markdown
Contributor Author

@vitaut, PR updated.

Comment thread include/fmt/chrono.h Outdated
@phprus

phprus commented Nov 13, 2021

Copy link
Copy Markdown
Contributor Author

@vitaut, PR updated.

Comment thread include/fmt/chrono.h Outdated
Comment thread include/fmt/chrono.h Outdated
@vitaut
vitaut merged commit c089f7d into fmtlib:master Nov 14, 2021
@vitaut

vitaut commented Nov 14, 2021

Copy link
Copy Markdown
Contributor

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants