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

Editing date fields in Database modules incorrectly displays the date, using the user's timezone

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80499-403
    • Hide
      1. Log in as admin
      2. Navigate to Profile from user menu
      3. Press Edit profile
        • Timezone: America/New_York
        • Save
      4. Create a course
      5. Add a Database activity
      6. Press Create a field and choose Date
        • Field name: My date
      7. Press Database tab, then Add entry
        • My date: 10 January 2025
      8. Confirm single view of database shows
        • My date: 10 January 2025
      9. Press Actions > Edit for your entry
      10. Confirm the field My date shows 10 January 2025
      Show
      Log in as admin Navigate to Profile from user menu Press Edit profile Timezone: America/New_York Save Create a course Add a Database activity Press Create a field and choose Date Field name: My date Press Database tab, then Add entry My date: 10 January 2025 Confirm single view of database shows My date: 10 January 2025 Press Actions > Edit for your entry Confirm the field My date shows 10 January 2025

      Steps to reproduce

      • In the Database activity, create an entry that includes a date
      • Edit the entry

      Expected outcome

      • Date remains the same

      Actual outcome

      • Date changes to the day before

            pholden Paul Holden
            jim.mezzanotte@moodle.com Jim Mezzanotte
            Andrew Lyons Andrew Lyons
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            8 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, 30 minutes
                2h 30m

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