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

Human date output does not show the year when needed

XMLWordPrintable

    • HQ 2025 Sprint I2 Planning

      The new core_calendar\output\humandate output omits the year. While this is acceptable for dates within the same year, it becomes problematic for dates from previous or upcoming years, as they become indistinguishable from those of the current year.

      For example, shown a date "1 January 2040" shows "Sunday, 1 January, 8:00 AM" instead of "Sunday, 1 January 20240, 8:00 AM".

      The reason is that humandate class always uses strftimedayshort as usedate format.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Laurent David Laurent David
            David Woloszyn David Woloszyn
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 40 minutes
                2h 40m

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