| Summary: | Time always treated as 24 hours | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | diods <diods> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | johannbg, lpoetter, metherid, mschmidt, notting, plautrba, pmachata, systemd-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-01 13:41:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
diods
2011-11-30 21:05:46 UTC
This has certainly nothing to do with tzdata. I'm trying to understand what your problem is. Where else should the AM/PM format change be reflected, and isn't? What do you expect to happen? That running nautilus from another account doesn't honor the first user's settings should be expected. root presumably has his own clock settings. I don't understand the part with shutdown at all. What is the actual command line that you are giving, what is the system's response to it, and what are your expectations? ok here is a picture that shows you the problem : http://img585.imageshack.us/img585/8374/90379997.png as you can see in the picture the time in both top panel and date and time dialog refer to am/pm but the shutdown command treated the clock as 24 hour. the shutdown command supposed to shutdown the pc at 01:00 PM. i have tried to change the date and time to am/pm, as gdm, root, and my username but it is still 24 hour. i know it is a bit confusing but i hope the picture explaine it. here is also another picture which will show you the problem more clearly : http://img341.imageshack.us/img341/7591/timeissue.png as you can see in the picture the current date and time display the time in 12h while the boxes display the time in 24h. Shutdown is an admin, not user-facing tool. It's not surprising that it ignores gnome settings. In fact, 24-hour format is mandated in the man page. Besides, stating simply 1:00 can't work. Which 1:00? How should shutdown know? In the mean time, create a wrapper script that will run some equivalent of shutdown -P $(date -d 2pm +%R). Or learn 24-hour format, it's not that big of a deal. Reassigning to systemd, which is the owner of shutdown. Yes, systemd's shutdown implementation supports only the 24-hour time format. So did upstart's and SysVinit's implementations. Supporting Gnome configuration in /sbin/shutdown is out of the question. |