From owner-freebsd-bugs Fri Oct 16 12:30:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22603 for freebsd-bugs-outgoing; Fri, 16 Oct 1998 12:30:13 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22560 for ; Fri, 16 Oct 1998 12:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA13603; Fri, 16 Oct 1998 12:30:03 -0700 (PDT) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20653; Fri, 16 Oct 1998 12:22:32 -0700 (PDT) (envelope-from nobody) Message-Id: <199810161922.MAA20653@hub.freebsd.org> Date: Fri, 16 Oct 1998 12:22:32 -0700 (PDT) From: patl@phoenix.volant.org To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: misc/8346: Strftime can't generate ISO-8601 timezone offsets Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8346 >Category: misc >Synopsis: Strftime can't generate ISO-8601 timezone offsets >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 16 12:30:02 PDT 1998 >Last-Modified: >Originator: PM Lashley >Organization: >Release: 2.2.7R >Environment: >Description: ISO-8601 (International Standard Date and Time Notation) lists three possibilities for timezone indicators: 1) If no indicator is present, an unspecified offset from UTC is assumed. 2) The letter 'Z' indicates UTC. 3) A signed offset in hours and minutes from UTC (e.g., -08:00 for PST) Strftime can generate the rest of the date and time in an acceptable form; but has no format item which will emit the signed offset notation. (Timezone name abbreviations are not acceptable under ISO-8601 due to the high probability of confusion.) For more info in ISO-8601, see: http://www.cl.cam.ac.uk/~mgk25/iso-time.html >How-To-Repeat: >Fix: Add a new format specifier to emit the signed offset from UTC. Since '%Z' is used to get the timezone name, '%z' is a logical choice for the offset. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message