Home >System Tutorial >LINUX >How to set the date display format in Ubuntu16.04?

How to set the date display format in Ubuntu16.04?

PHPz
PHPzforward
2024-01-04 13:20:211007browse

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.

How to set the date display format in Ubuntu16.04?

2. In the system settings, open

Time and date settings.

How to set the date display format in Ubuntu16.04?

3. Open

clock settings.

How to set the date display format in Ubuntu16.04?

4. Check the year, month and week. If necessary, you can

check the seconds as well.

How to set the date display format in Ubuntu16.04?

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.

How to set the date display format in Ubuntu16.04?

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'

How to set the date display format in Ubuntu16.04?

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.

How to set the date display format in Ubuntu16.04?

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!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete