Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 05:43:38 -0800 (PST)
From:      Michael Wardle <michael@endbracket.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/36786: make ps use 24-hour time by default
Message-ID:  <200204051343.g35DhcO87662@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         36786
>Category:       bin
>Synopsis:       make ps use 24-hour time by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 05 05:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wardle
>Release:        4.5-RELEASE
>Organization:
>Environment:
>Description:
I noticed that "ps -u" gives the time a process was started in a
12-hour format, regardless of the locale setting.

It seems that the "start" field is designed to always be a fixed width,
so it probably shouldn't merely use the locale date format, as this
may cause variable widths.

In lieu of fixing this to obey the locale, I would suggest this should
be changed to always use a 24-hour time format, as 24-hour time is the
standard format for many locales including en_US and C.

>How-To-Repeat:
      
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204051343.g35DhcO87662>