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

The custom user profile field for dates showing unixtime when downloading via bulk user actions

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-72019-master
    • Hide

      # Profile field type: Date

      1. log in as admin

      2. Go to Site Administrations >> Users >> Accounts - User profile fields (user/profile/index.php)

      3. Click "Create a new profile field."

      4. Select "Date/Time"

      5. Confirm there will be a popup dialog (Creating a new 'Date/Time' profile field)

      6. Fill Short Name (ex. join_date)

      7. Fill Name (ex. Join Date)

      8. Save changes

       

      # Profile field type: Date Time

      1. log in as admin

      2. Go to Site Administrations >> Users >> Accounts - User profile fields (user/profile/index.php)

      3. Click "Create a new profile field"

      4. Select "Date/Time"

      5. Confirm there will be a popup dialog (Creating a new 'Date/Time' profile field)

      6. Fill Short Name (ex. start_datetime)

      7. Fill in Name (ex. Start DateTime)

      8. Tick the "Include Time" checkbox

      9. Save changes

       

      After following above steps, continue with the below steps:

      1. Edit student's profile with the new extra fields above.

      2. Go to Site Administrations >> Users >> Accounts - Bulk user actions

      3. Select students and select Download in the dropdown below ("With selected users... ")

      4. Select the file format and click Download

      5. Confirm join_date and startdatetime show as expected

       

      For example:

      - join_date = 9 January 2022

      - start_datetime = Friday, 22 April 2022, 12:00 AM

      Show
      # Profile field type: Date 1. log in as admin 2. Go to Site Administrations >> Users >> Accounts - User profile fields (user/profile/index.php) 3. Click "Create a new profile field." 4. Select "Date/Time" 5.  Confirm  there will be a popup dialog (Creating a new 'Date/Time' profile field) 6. Fill Short Name (ex. join_date) 7. Fill Name (ex. Join Date) 8. Save changes   # Profile field type: Date Time 1. log in as admin 2. Go to Site Administrations >> Users >> Accounts - User profile fields (user/profile/index.php) 3. Click "Create a new profile field" 4. Select "Date/Time" 5.  Confirm  there will be a popup dialog (Creating a new 'Date/Time' profile field) 6. Fill Short Name (ex. start_datetime) 7. Fill in Name (ex. Start DateTime) 8. Tick the "Include Time" checkbox 9. Save changes   After following above steps, continue with the below steps: 1. Edit student's profile with the new extra fields above. 2. Go to Site Administrations >> Users >> Accounts - Bulk user actions 3. Select students and select Download in the dropdown below ("With selected users... ") 4. Select the file format and click Download 5. Confirm join_date and startdatetime show as expected   For example: - join_date = 9 January 2022 - start_datetime = Friday, 22 April 2022, 12:00 AM
    • 0
    • Team Hedgehog 4.1 pre 1.1, Team Hedgehog Sprint 1.1, Team Hedgehog Sprint 1.2

      Hi,

      We've found an issue within Moodle Workplace versions 3.8.3 to 3.10.1 whereby when you add a 'User profile field' which includes dates, and then download your user list from 'Bulk user actions' the custom date field when selected shows unixtime instead of a readable date format.

      Many kind regards,

      David

        1. image-2021-06-25-12-43-23-711.png
          image-2021-06-25-12-43-23-711.png
          128 kB
        2. MDL-72019-400.png
          MDL-72019-400.png
          21 kB
        3. MDL-72019-401.png
          MDL-72019-401.png
          20 kB
        4. MDL-72019-master.png
          MDL-72019-master.png
          27 kB

            meirza.arson@moodle.com Meirza
            David Cardiff David Cardiff
            Huong Nguyen Huong Nguyen
            Ilya Tregubov Ilya Tregubov
            Kevin Percy Kevin Percy
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 minutes
                2d 6m

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