Date/Time display locale format selector #7343
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Date/Time display locale format selector
Remains unchanged as log raw (ISO 8601: YYYY-MM-DDThh:mm:ss+/-hh:mm) unless a different display format is selected.
A major purpose of a GUI is human ease of use. Date/Time strings in ISO 8601 format are great for data transfer between systems. Though not humanly convenient.
This patch makes possible to optionally select a humanly convenient date/time log display format based on the client locale or the OPNsense web GUI language. ex: Mar 25 13:15:45
The logged ISO 8601 date/time string is not altered by this patch.
Display Formats:
SYSTEM: SETTINGS: LOGGING
SYSTEM: LOG FILES: BOOT (does not include TZ)
FIREWALL: SETTINGS: ADVANCED -> Logging
FIREWALL: ALIASES -> Last Updated (does not include TZ)
Firewall Log Widget
System Log Widget