| To: | austin-group-l@xxxxxxxxxxxxx |
|---|---|
| Subject: | [1003.1(2008)/Issue 7 0000169]: date utility needs ``%s'' |
| From: | Austin Group Bug Tracker <noreply@xxxxxxxxxxxxx> |
| Date: | Fri, 16 Oct 2009 09:07:05 +0000 |
| Keywords: | [1003.1(2008)/Issue 7] Shell and Utilities |
A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=169 ====================================================================== Reported By: wpollock Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 169 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: Under Review Name: Wayne Pollock Organization: User Reference: Section: date Page Number: NA Line Number: NA Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2009-10-15 15:44 UTC Last Modified: 2009-10-16 09:07 UTC ====================================================================== Summary: date utility needs ``%s'' ====================================================================== ---------------------------------------------------------------------- (0000262) geoffclare (manager) - 2009-10-16 09:07 http://austingroupbugs.net/view.php?id=169#c262 ---------------------------------------------------------------------- If the proposed change to date is made, we should also add %s to strftime() and strptime() for consistency. Although it would be kind-of redundant for those functions (being equivalent to mktime() and localtime() respectively, plus conversion to/from a string) it would be usable in user-supplied/configured format strings. The detailed changes needed would be ... After line 82902 add: %s Seconds since 1970-01-01 00:00:00 UTC as a decimal number (see [xref to XBD 4.15 Seconds Since the Epoch]) Cross-volume changes to XSH: After page 2009 line 63596 section strftime, add: [CX]%s Replaced by the number of seconds since 1970-01-01 00:00:00 UTC as a decimal number (see [xref to XBD 4.15 Seconds Since the Epoch]). [all members, as if by a call to mktime()] [/CX] After page 2027 line 64161 section strptime, add: %s The number of seconds since 1970-01-01 00:00:00 UTC as a decimal number (see [xref to XBD 4.15 Seconds Since the Epoch]); leading zeros shall be permitted but shall not be required. Issue History Date Modified Username Field Change ====================================================================== 2009-10-15 15:44 wpollock New Issue 2009-10-15 15:44 wpollock Status New => Under Review 2009-10-15 15:44 wpollock Assigned To => ajosey 2009-10-15 15:44 wpollock Name => Wayne Pollock 2009-10-15 15:44 wpollock Section => date 2009-10-15 15:44 wpollock Page Number => NA 2009-10-15 15:44 wpollock Line Number => NA 2009-10-15 15:45 wpollock Issue Monitored: wpollock 2009-10-16 09:07 geoffclare Note Added: 0000262 ====================================================================== |
| Previous by Date: | [1003.1(2008)/Issue 7 0000169]: date utility needs ``%s'', Austin Group Bug Tracker |
|---|---|
| Next by Date: | [1003.1(2008)/Issue 7 0000169]: date utility needs ``%s'', Austin Group Bug Tracker |
| Previous by Thread: | [1003.1(2008)/Issue 7 0000169]: date utility needs ``%s'', Austin Group Bug Tracker |
| Next by Thread: | [1003.1(2008)/Issue 7 0000169]: date utility needs ``%s'', Austin Group Bug Tracker |
| Indexes: | [Date] [Thread] [All Lists] |