Skip to content

Commit d92ca3b

Browse files
committed
Fix a typo in the RFC 3339 examples
1 parent b571ba7 commit d92ca3b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

R/posixt.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ date_set_zone.POSIXt <- function(x, zone) {
12841284
#'
12851285
#' # With a space between the date and time and no `:` in the offset
12861286
#' x <- "2019-01-01 00:01:02+0230"
1287-
#' date_time_parse_RFC_3339(x, separator = " ", offset = "%Ez")
1287+
#' date_time_parse_RFC_3339(x, separator = " ", offset = "%z")
12881288
#'
12891289
#' # ---------------------------------------------------------------------------
12901290
#' # Sub-second components

R/sys-time.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ is_sys_time <- function(x) {
196196
#'
197197
#' # With a space between the date and time and no `:` in the offset
198198
#' x <- "2019-01-01 00:01:02+0230"
199-
#' sys_time_parse_RFC_3339(x, separator = " ", offset = "%Ez")
199+
#' sys_time_parse_RFC_3339(x, separator = " ", offset = "%z")
200200
NULL
201201

202202
#' @rdname sys-parsing

man/date-time-parse.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sys-parsing.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)