Display full timestamp on revisions table Date column #3644
Replies: 5 comments 2 replies
-
Patch file for this potential change:
|
Beta Was this translation helpful? Give feedback.
-
Alternative patch file to display the full timestamp instead of the
|
Beta Was this translation helpful? Give feedback.
-
Line ~314 would also need to be updated to |
Beta Was this translation helpful? Give feedback.
-
@swierczek would you mind opening actual pull request with this change? I think the solution without extra |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggest an idea for ExpressionEngine
Is your feature request related to a problem? Please describe.
The revisions table Date column doesn't display seconds, but it's fairly common to display the full timestamp in a
title
attribute so it displays on hover in case the user wants the full data. We have instances where revisions are saved either in the same minute or after another, and it's beneficial to see the full time with seconds.Describe the solution you'd like
Wrap the Date field in
<span title="(full_timestamp)">
so the full value is available on hover:Describe alternatives you've considered
Alternatively, instead of outputting the Date value with seconds removed, the Date column could just output the full value via
ee()->localize->human_time($entry->edit_date->format('U'), true, true)
Teachability, Documentation, Adoption, Migration Strategy
If the
span
option is implemented, it wouldn't be immediately apparent that this functionality exists, but it's fairly common behavior around the web related to dates and times. If the full timestamp is used (human_time(x, x, true)
), then no additional teachability/documentation would be needed.Beta Was this translation helpful? Give feedback.
All reactions