Skip to content

Commit

Permalink
Fix indentation at fmt_cmp() source
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiromagno committed Nov 22, 2023
1 parent 530924f commit b19b8a9
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions R/parse_dttm_fmt.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,23 +146,20 @@ months_abb_regex <- function(x = month.abb, case = c("any", "upper", "lower", "t
#'
#' @export
fmt_cmp <- function(sec = "S+",
min = "M+",
hour = "H+",
mday = "d+",
mon = "m+",
year = "y+") {

structure(
list(
sec = sec,
min = min,
hour = hour,
mday = mday,
mon = mon,
year = year
),
class = "fmt_c"
)
min = "M+",
hour = "H+",
mday = "d+",
mon = "m+",
year = "y+") {
structure(list(
sec = sec,
min = min,
hour = hour,
mday = mday,
mon = mon,
year = year
),
class = "fmt_c")

}

Expand Down

0 comments on commit b19b8a9

Please sign in to comment.