Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10655

Docs for SERVER-29627: Replace pieces of time_support.h/cpp if they can be implemented using new timezone library

      Documentation Request Summary:

      Three new format specifiers to $dateToString: %a, %b and %e (See description)

      Engineering Ticket Description:

      As part of the review for SERVER-28611 we realized we now have some duplicate logic in time_support.h and date_time_support.h. We should re-jigger the libraries and make time_support.h use the new helpers that call into timelib.

      The following new format specifiers will also be available after this gets merged:

      %a
      The abbreviated English name of the day of the week.

      %b
      The abbreviated English name of the month.

      %e
      The day of the month as a decimal number, but unlike ``%d``, pre-padded with space instead of a ``0``.

            Assignee:
            Unassigned Unassigned
            Reporter:
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 38 weeks ago