Skip to content

Commit 4a1fb81

Browse files
author
ripley
committed
add some further details
git-svn-id: https://svn.r-project.org/R/trunk@88117 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 905c9c9 commit 4a1fb81

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/library/base/man/strptime.Rd

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/strptime.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2024 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{strptime}
@@ -105,14 +105,18 @@ strptime(x, format, tz = "")
105105
\describe{
106106
\item{\code{\%a}}{Abbreviated weekday name in the current
107107
locale on this platform. (Also matches full name on input:
108-
in some locales there are no abbreviations of names.)}
108+
in some locales there are no abbreviations of names.)
109+
Case-insensitive on input.}
109110
\item{\code{\%A}}{Full weekday name in the current locale. (Also
110-
matches abbreviated name on input.)}
111+
matches abbreviated name on input.)
112+
Case-insensitive on input.}
111113
\item{\code{\%b}}{Abbreviated month name in the current locale on
112114
this platform. (Also matches full name on input: in
113-
some locales there are no abbreviations of names.)}
115+
some locales there are no abbreviations of names.)
116+
Case-insensitive on input.}
114117
\item{\code{\%B}}{Full month name in the current locale. (Also
115-
matches abbreviated name on input.)}
118+
matches abbreviated name on input.)
119+
Case-insensitive on input.}
116120
\item{\code{\%c}}{Date and time. Locale-specific on output,
117121
\code{"\%a \%b \%e \%H:\%M:\%S \%Y"} on input.}
118122
\item{\code{\%C}}{Century (00--99): the integer part of the year
@@ -145,6 +149,10 @@ strptime(x, format, tz = "")
145149
non-English European locales including Russia). The behaviour is
146150
undefined if used for input in such a locale.
147151

152+
For input the match is case-insensitive. Note that
153+
English locales do not necessarily use \code{AM/PM}: for eacmple,
154+
\code{a.m./p.m.} has been encountered.
155+
148156
Some platforms accept \code{\%P} for output, which uses a lower-case
149157
version (\code{\%p} may also use lower case): others will output
150158
\code{P}.}

0 commit comments

Comments
 (0)