Home >System Tutorial >LINUX >How to set the date display format in Ubuntu16.04?
The time on the Ubuntu title bar only displays hours and minutes by default. If you need to display the year, month, day and seconds, you can make relevant settings in the settings
1. Open settings. Search settings in the launcher, or click the Settings button in the upper right corner.
2. In the system settings, open
Time and date settings.
3. Open
clock settings.
4. Check the year, month and week. If necessary, you can
check the seconds as well.
5. This is not enough, because Ubutnu16.04 has a bug in the title time display, which shows 2 months. It is repeated. Although it does not affect the time display, people with obsessive-compulsive disorder feel uncomfortable.
6. Open the terminal and copy these 2 lines into it
gsettings set com.canonical.indicator.datetime time-format 'custom'gsettings set com.canonical.indicator.datetime custom-time-format '%Y year %m month %d day %A %H:%M:%S'
7. The settings are complete here. In fact, the settings are only on the graphical interface, and you can also set them directly on the command line. However, only 16.04 has this bug. Other versions can be set on the graphical interface, which is more convenient.
related suggestion:
How to customize touchpad gestures in Ubuntu16.04 system?How to log out of ubuntu16.04? 3 ways to log out of the desktop in ubuntu
How to connect to the Internet in Ubuntu 16.04? Tips for setting up a broadband connection in Ubuntu
The above is the detailed content of How to set the date display format in Ubuntu16.04?. For more information, please follow other related articles on the PHP Chinese website!