Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Any way to change time format?

Featured Replies

I'd prefer to see time in am/pm format instead of 24/hr.  Is there any way to do this?

You will need to be much more specific, as to where you are seeing the dates you wish to change.  Every application author makes their own decisions as to how to display dates, and you generally need to address requests directly to the maintainer of that application.  I checked the unRAID Web Management page application and the only 2 dates I see there (parity last checked timestamp, and 'Date and Time' setting), and both are already in am/pm format.

  • Author

RobJ, you are absolutely correct and I should be more specific.  I'm primarilly talking about unmenu - the top right hand corner of most pages and the system log displayed in various places (syslog page, main pagem myMain page).

RobJ, you are absolutely correct and I should be more specific.  I'm primarilly talking about unmenu - the top right hand corner of most pages and the system log displayed in various places (syslog page, main pagem myMain page).

The date format is not configurable in unmenu

but you could probably edit unmenu.awk

 

around line 702 are these two lines

  "date" | getline DateTime

  close("date")

 

Change "date" in both to

"date '+%a %b %d %r %Z %Y'"

 

They would then look like this:

  "date '+%a %b %d %r %Z %Y'" | getline DateTime

  close("date '+%a %b %d %r %Z %Y'")

 

 

I've not tried it, but it should work.  Check out the manual page for the date command to learn how to specify any format you like:

http://unixhelp.ed.ac.uk/CGI/man-cgi?date

  • Author

Joe L.  Once again thank you so much.  For the time being I think I like "date '+%A, %B %d, %Y @ %r %Z'".  This takes care of the time in the upper right hand corner.  For the systlog - I'm guessing that I just need to determine which AWK file each "page" is, search for something like "date", and use what I've learned here to make the appropriate changes?

Joe L.  Once again thank you so much.   For the time being I think I like "date '+%A, %B %d, %Y @ %r %Z'".  This takes care of the time in the upper right hand corner.  For the systlog - I'm guessing that I just need to determine which AWK file each "page" is, search for something like "date", and use what I've learned here to make the appropriate changes?

Actually, most all of them use the same header code.  You may not need to change anything else but the one file.  The exception might be the file-editor, since it does its own header.

 

Congratulations... you are now an "awk" programmer. ;)

For the syslog.

The system log is written by the Linux kernel.  We just display it the way it was written. We don't put the date on the log lines.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.