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

Migrate away from use of strftime and friends

    XMLWordPrintable

Details

    Description

      The strftime, and gmstrftime functions have been deprecated and will be removed in 9.0.

      See https://php.watch/versions/8.1/strftime-gmstrftime-deprecated for further information.

      We will need to get on this ASAP and should take this opportunity to improve the core_date class (and/or replace it if relevant).

      The recognised replacement is to use the Intl library, which uses Unicode CLDR data rather than system locale data and alleviates other issues.

      With the right API design we can also hopefully improve our testing integrations.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              dobedobedoh Andrew Lyons
              David Woloszyn David Woloszyn
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 46 minutes
                  1d 4h 46m