Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71549

workaround for %p in strftime on MacOS

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.11
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_311_STABLE

      Description

      The %P modifier is not supported in the macOS implementation of the strftime function. We need a way to detect when %P returns lowercased am/pm and upper them.

      (consider languages as well. AM/PM is notused in all languages)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rezaie9 Shamim Rezaie
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: