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

Suppress leading zero on am/pm time

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 2.3
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Testing Instructions:
      Hide

      0. Ensure your server uses default English language setting. (There is no change to other languages.)
      1. Go into a forum in the afternoon (between 1.00pm and 9.59pm) and post a message. Check the time is displayed as e.g. 3:00 PM (rather than 03:00PM).

      Show
      0. Ensure your server uses default English language setting. (There is no change to other languages.) 1. Go into a forum in the afternoon (between 1.00pm and 9.59pm) and post a message. Check the time is displayed as e.g. 3:00 PM (rather than 03:00PM).
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-6102-master

      Description

      I think it would look much better if the leading zero on the hours part of the time was suppressed. At the moment times look like - 02:53 PM - which looks a bit like a strange 12/24 hybrid. 2:53 PM looks better and less (potentially) confusing.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  3 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12