[SERVER-67589] Add a fmt::formatter specialization for Duration Created: 27/Jun/22 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Daniel Morilha (Inactive) | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
Formatting Durations require the inclusion of <fmt/ostream.h> header. Apparently the code base lacks the ability to format the custom Duration and its derived classes, e.g. Milliseconds, Seconds, etc... AC: Create a fmt custom parser able to understand Duration and remove <fmt/ostream.h> from the files it is currently relying upon. |