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.
Date format contain in chatroom_msg_date_format variable. This variable used when theme chat messages. By default this value is 'H:i:s'. And we can't change it from admin page.
Comment | File | Size | Author |
---|---|---|---|
#4 | chat_box_date-1169326.patch | 2.17 KB | rbogdan |
#1 | chat_box_date-1169326.patch | 1.41 KB | rbogdan |
Comments
Comment #1
rbogdan CreditAttribution: rbogdan commentedThis patch fix this problem.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks for the patch, will review shortly.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedFirst review, on my phone so just based on reading patch.
- 'chart' should be 'chat'
- there is no validation. Perhaps a regex or Date object based test?
Comment #4
rbogdan CreditAttribution: rbogdan commentedFixed in new version of patch:
- 'chart' should be 'chat'
- there is no validation. Perhaps a regex or Date object based test?