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

Time display format calendar_site_timeformat does not display 24 hour clock in reports

XMLWordPrintable

    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_25_STABLE, MOODLE_311_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Hide

      As admin:

      1. go to site admin > advance features, set 'site_timeformat' to 12 hrs
      2. go to view profile page and notice that the access time is in 12 hours format

      As student:

      1. edit the profile page and set time format to 24 hours.
      2. view the profile page and notice that the access time is in 24 hours format

      As either user, visit the forum discussion and make sure the timeformat is showing in the correct format for the user.

      Show
      As admin: go to site admin > advance features, set 'site_timeformat' to 12 hrs go to view profile page and notice that the access time is in 12 hours format As student: edit the profile page and set time format to 24 hours. view the profile page and notice that the access time is in 24 hours format As either user, visit the forum discussion and make sure the timeformat is showing in the correct format for the user.

      In Administration / Appearance / Calendar a timeformat setting is available: Time display format calendar_site_timeformat
      The notice says: You can choose to see times in either 12 or 24 hour format for the whole site. If you choose "default", then the format will be automatically chosen according to the language you use in the site. This setting can be overridden by user preferences.

      However, when as Admin I set it to 24 hour, and my language is English, is still see dates displayed with the AM/PM format (which I hate) in Reports (see attached screenshot). This is not what I want.

      Moreover, when it says "This setting can be overridden by user preferences." I do not see any setting in my user profile to over-ride time format...

      Joseph

            Votes:
            17 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:

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