|
1 | 1 | % File src/library/base/man/strptime.Rd |
2 | 2 | % Part of the R package, https://www.R-project.org |
3 | | -% Copyright 1995-2024 R Core Team |
| 3 | +% Copyright 1995-2025 R Core Team |
4 | 4 | % Distributed under GPL 2 or later |
5 | 5 |
|
6 | 6 | \name{strptime} |
@@ -105,14 +105,18 @@ strptime(x, format, tz = "") |
105 | 105 | \describe{ |
106 | 106 | \item{\code{\%a}}{Abbreviated weekday name in the current |
107 | 107 | 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.} |
109 | 110 | \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.} |
111 | 113 | \item{\code{\%b}}{Abbreviated month name in the current locale on |
112 | 114 | 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.} |
114 | 117 | \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.} |
116 | 120 | \item{\code{\%c}}{Date and time. Locale-specific on output, |
117 | 121 | \code{"\%a \%b \%e \%H:\%M:\%S \%Y"} on input.} |
118 | 122 | \item{\code{\%C}}{Century (00--99): the integer part of the year |
@@ -145,6 +149,10 @@ strptime(x, format, tz = "") |
145 | 149 | non-English European locales including Russia). The behaviour is |
146 | 150 | undefined if used for input in such a locale. |
147 | 151 |
|
| 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 | + |
148 | 156 | Some platforms accept \code{\%P} for output, which uses a lower-case |
149 | 157 | version (\code{\%p} may also use lower case): others will output |
150 | 158 | \code{P}.} |
|
0 commit comments