From owner-freebsd-bugs Fri Apr 5 5:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C5B8837B41A for ; Fri, 5 Apr 2002 05:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g35Do1F90468; Fri, 5 Apr 2002 05:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 060F737B41A for ; Fri, 5 Apr 2002 05:43:39 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g35DhcO87662; Fri, 5 Apr 2002 05:43:38 -0800 (PST) (envelope-from nobody) Message-Id: <200204051343.g35DhcO87662@freefall.freebsd.org> Date: Fri, 5 Apr 2002 05:43:38 -0800 (PST) From: Michael Wardle To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/36786: make ps use 24-hour time by default Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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