Skip to content

Commit 65b390e

Browse files
author
ripley
committed
mention LC_TIME may need to be set
git-svn-id: https://svn.r-project.org/R/trunk@88120 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 86a160b commit 65b390e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/manual/R-exts.texi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5541,6 +5541,18 @@ printed may not be. Objects of class @code{"POSIXlt"} should have a
55415541
@code{"tzone"} attribute. Dates (e.g,@: birthdays) are conventionally
55425542
considered independently of time zone.
55435543

5544+
If input of date-times involves words not just numbers (day and month
5545+
names, the am/pm indicator) consider if the local category
5546+
@code{LC_TIME} needs to be set. The am/pm indicator in the C/POSIX
5547+
locale is @code{AM/PM}, but this need not be the case in other English
5548+
locales. Worse, the OS has been known to change this at an update.
5549+
This applies also to testing output.
5550+
@c from "am" to "a.m." in en_GB in macOS 15.4
5551+
5552+
Day and month names (and especially their abbreviations) in non-English
5553+
languages may differ between OSes.
5554+
@c seen in French
5555+
55445556
@item
55455557
If at all possible avoid any Internet access during package
55465558
installation. Installation and use may well be on different

0 commit comments

Comments
 (0)