Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67589

Add a fmt::formatter specialization for Duration

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch

      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.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: