Skip to content

Commit 8fced61

Browse files
author
ripley
committed
tweaks
git-svn-id: https://svn.r-project.org/R/trunk@88142 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent a095f11 commit 8fced61

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/library/base/man/strptime.Rd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ strptime(x, format, tz = "")
150150
undefined if used for input in such a locale.
151151

152152
For input the match is case-insensitive. Note that
153-
English locales do not necessarily use \code{AM/PM}: for eacmple,
153+
English locales do not necessarily use \code{AM/PM}: for example,
154154
\code{a.m./p.m.} has been encountered.
155155

156156
Some platforms accept \code{\%P} for output, which uses a lower-case
@@ -421,8 +421,9 @@ format(Sys.time(), "\%a \%b \%d \%X \%Y \%Z")
421421
format(Sys.time(), "\%H:\%M:\%OS3")
422422
}% \dont.. %
423423
## read in date info in format 'ddmmmyyyy'
424-
## This will give NA(s) in some non-English locales; setting the C locale
425-
## as in the commented lines will overcome this on most systems.
424+
## This will give NA(s) in some locales (especially non-English ones);
425+
## setting the C locale as in the commented lines will overcome this on
426+
## most systems.
426427
## lct <- Sys.getlocale("LC_TIME"); Sys.setlocale("LC_TIME", "C")
427428
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
428429
z <- strptime(x, "\%d\%b\%Y")

0 commit comments

Comments
 (0)