Add widget Current local time in website's timezone to include in screenshots
#16,025 opened on Jun 6, 2020
Repository metrics
- Stars
- (21,513 stars)
- PR merge metrics
- (Avg merge 8d 11h) (106 merged PRs in 30d)
Description
There are many cases where we take screenshots of our reporting dashboard at a specific time where we can see evidence of some specific activity that would otherwise be difficult to show later on (because of the compacting of data and the fact that some of the widgets are instant-based - like the Real Time Visitor Count).
Please consider adding a small "Current Local Time" widget in format date('y/m/d h:i:s') modified to the local time of the observed portal. Not sure in which widget category to place it thouhg. Maybe "Visitors" or "About Matomo"...
Something like this:

I was going to say that it didn't need to be updated every second (every minute is enough), but given it's probably just going to be some light JS, that should be alright. As an alternative, it could only show a max precision of minutes, but I anticipate someone would later ask for more precision...
For specs on what to implement please see the comment from @tsteur in https://github.com/matomo-org/matomo/issues/16025#issuecomment-820765596