View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001819 | Issue 8 drafts | Shell and Utilities | public | 2024-03-08 02:25 | 2024-03-08 18:12 |
Reporter | dannyniu | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Closed | Resolution | Withdrawn | ||
Product Version | Draft 4.1 | ||||
Name | DannyNiu/NJF | ||||
Organization | <individual> | ||||
User Reference | 202x_d4.1.pdf | ||||
Section | date | ||||
Page Number | 2770-2775 | ||||
Line Number | Needs refactoring. | ||||
Final Accepted Text | |||||
Summary | 0001819: Gut of the `date` spec is gone. | ||||
Description | The specification of the `date` utility is now missing all those %-format specifiers. | ||||
Desired Action | Add the %-format specifiers and any other what's missing back. | ||||
Tags | No tags attached. |
|
The `date` page says When the format is specified, the output shall be formatted as if by strftime() with the specified format string, and a timeptr argument that is the equivalent of localtime(&now) if −u is not specified or gmtime(&now) if −u is specified, where now is an object of type time_t containing the return value of time(0). This avoids having to keep the `strftime()` page and the `date` page in sync. Given that this is a standard document, rather than a reference manual, that suffices; if a given system wants to offer a date man page that describes the format specifiers, and make sure it's in sync with `strftime()`, they may do so. |
|
Re note-6713, Fair enough. Sorry for not noticing the "operand" section, I too dislike unnecessary duplication. Please close as rejected. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-03-08 02:25 | dannyniu | New Issue | |
2024-03-08 02:25 | dannyniu | Name | => DannyNiu/NJF |
2024-03-08 02:25 | dannyniu | Organization | => <individual> |
2024-03-08 02:25 | dannyniu | User Reference | => 202x_d4.1.pdf |
2024-03-08 02:25 | dannyniu | Section | => date |
2024-03-08 02:25 | dannyniu | Page Number | => 2770-2775 |
2024-03-08 02:25 | dannyniu | Line Number | => Needs refactoring. |
2024-03-08 03:19 | Guy Harris | Note Added: 0006713 | |
2024-03-08 11:51 | dannyniu | Note Added: 0006717 | |
2024-03-08 18:12 | Don Cragun | Status | New => Closed |
2024-03-08 18:12 | Don Cragun | Resolution | Open => Withdrawn |