PR_FormatTimeUSEnglish() doesn't support "%e" format specifier
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
People
(Reporter: benc, Assigned: KaiE)
References
Details
Attachments
(1 file)
PR_FormatTimeUSEnglish() is billed as a locale-ignoring version of strftime(), but it doesn't support "%e" as a format specifier.
From the linux strftime() manpage:
%e Like %d, the day of the month as a decimal number, but a leading
zero is replaced by a space.
Not exactly a big deal, but figured I should log it somewhere!
| Reporter | ||
Comment 1•1 year ago
|
||
And in the interests of leaving breadcrumbs to follow: are the PR_* time functions still considered OK to use, or should people avoid them in favour of something else?
Updated•1 year ago
|
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:KaiE, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 3•1 year ago
|
||
(In reply to Ben Campbell from comment #1)
And in the interests of leaving breadcrumbs to follow: are the
PR_*time functions still considered OK to use, or should people avoid them in favour of something else?
Ok to use in C/C++ code. IMHO.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
Ben, if you want that added, please test and review.
| Assignee | ||
Comment 6•1 year ago
|
||
Description
•