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

Add a fmt::formatter specialization for Duration

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Service Arch

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: