Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Was doing a Drupal 8 outta the box show and tell at Drupal Melbourne tonight. We noticed an inconsistency in the way date format is displayed by default for Created and Updated dates. Screenshot below.
Haven't categorically ruled out User error here, but it might be a bug, and we wanted to show people how to create an issue!
Comment | File | Size | Author |
---|---|---|---|
#5 | Drupal 8.2.x_dateissue.png | 79 KB | jaspreetsingh31 |
#1 | 2334683.png | 140.38 KB | Anonymous (not verified) |
Screen Shot 2014-09-08 at 6.50.03 pm.png | 22.24 KB | kattekrab |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThe updated date field uses the "default short date format", whereas the created field is shown with the default "fallback date format". Changing the format of the latter results in the view you were expecting:
I'd say this works as designed.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedCould someone else verify that this works as expected?
Comment #5
jaspreetsingh31 CreditAttribution: jaspreetsingh31 at Axelerant commented@pjonckiere, I have verified this date issue on drupal 8.3.x, 8.2.x-dev and it's working as expected.
Date format is as expected "02/01/2017 - 13:28". Please find the attached screenshot "Drupal 8.2.x_dateissue.png" for sake reference.
Thanks
Jaspreet singh
Comment #6
LendudeThe update time uses the same format as the non-views version of the content page, so that is good, the post date isn't shown there, so there is no guideline for that.
I think just showing the date for the post date makes sense as a default, people are free to reconfigure the View as they see fit.