Change the Bar Date and Time Format
Change the date/time format used in the bar.
The time format (12 or 24 hour) can be specified in Settings:
The date format can be specified by selecting the appropriate region in Settings. A preview of the date format is provided, and logging back in is required for changes to take effect.
The date and time formats can also be explicitly set via Xresources. To do so, override the i3xrocks.date.format2
Xresource key. See Xresource overrides for details. The format specification for date is simply the arguments that would be passed to the date
command on the commandline. For example, to print the year in 4 digits, specify +%Y
.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified May 9, 2020: Update datetime howto w/ date format info (764119b9)