Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
Description
Original title: Investigate changes in SERVER-73402: timelib support for additional format specifiers
—
Added %b and %B format specifiers to $dateToString, which return the three-letter name of the month (ex. "Jan") and the full name of the month (ex. "January") respectively. These will be returned in TitleCase, and the user can use $toUpper or $toLower to adjust capitalization as needed.
Description of Linked Ticket
We want to add additional format specifiers to the timelib library, to create symmetry between dateFromString and dateToString; all format specifiers supported by one, should be supported by the other. This means adding %b and %B in dateToString, and %U and %w in dateFromString.
Attachments
Issue Links
- documents
-
SERVER-73402 timelib support for additional format specifiers
-
- Closed
-