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

Function strftime() is deprecated since PHP 8.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.1.1, 4.2
    • RSS
    • 2
    • Team Hedgehog Sprint 2.2

      This was detected as part of MDL-73587 (PHPCompatibility complete run against codebase).

      Function strftime() is deprecated since PHP 8.1; Use date() or IntlDateFormatter::format() instead

      We have one case in SimplePie library:

      • lib/simplepie/library/SimplePie/Item.php : 882

      Apparently it's not used (because tests haven't detected any problem), but surely, worth checking if a library upgrade / local patching / report upstream is needed.

      Note this was fixed globally @ MDL-75100, this is just the only leftover detected that we need to verify and decide about.

            raquel.ortega@moodle.com Raquel Ortega
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.