diff --git a/DESCRIPTION b/DESCRIPTION index be5f2ff..7dc84f6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: bigD -Version: 0.2.0.9000 Title: Flexibly Format Dates and Times to a Given Locale +Version: 0.3.0 Description: Format dates and times flexibly and to whichever locales make sense. Parses dates, times, and date-times in various formats (including string-based ISO 8601 constructions). The formatting syntax gives @@ -25,7 +25,8 @@ Depends: R (>= 3.3.0) Suggests: covr, - testthat (>= 3.0.0) + testthat (>= 3.0.0), + tibble (>= 3.2.1) Roxygen: list(markdown = TRUE) Config/testthat/edition: 3 Config/testthat/parallel: true diff --git a/NEWS.md b/NEWS.md index 1d7893d..41592f2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,8 @@ -# bigD (development version) +# bigD 0.3.0 + +* The locale's territory is now better resolved for week in month calculations. + +* Corrected the formatting of localized GMT formats. * Depend on R >= 3.3 to use `strrep()` and `startsWith()` diff --git a/R/fdt.R b/R/fdt.R index 2499fef..366b177 100644 --- a/R/fdt.R +++ b/R/fdt.R @@ -97,7 +97,7 @@ #' strings produce which outputs (e.g., `"y"` for the year). A common pattern is #' characters that are used consecutively to produce variations on a date, time, #' or timezone output. Say that the year in the input is 2015. If using `"yy"` -#' you'll get `"15"` but with `"yyyy"` the output becomes `"1999"`. There's a +#' you'll get `"15"` but with `"yyyy"` the output becomes `"2015"`. There's a #' whole lot of this, so the following subsections try to illustrate as best as #' possible what each string will produce. All of the examples will use this #' string-based datetime input unless otherwise indicated: diff --git a/man/fdt.Rd b/man/fdt.Rd index e1fb520..fbb1e87 100644 --- a/man/fdt.Rd +++ b/man/fdt.Rd @@ -137,7 +137,7 @@ The characters used in patterns are tabulated below to show which specific strings produce which outputs (e.g., \code{"y"} for the year). A common pattern is characters that are used consecutively to produce variations on a date, time, or timezone output. Say that the year in the input is 2015. If using \code{"yy"} -you'll get \code{"15"} but with \code{"yyyy"} the output becomes \code{"1999"}. There's a +you'll get \code{"15"} but with \code{"yyyy"} the output becomes \code{"2015"}. There's a whole lot of this, so the following subsections try to illustrate as best as possible what each string will produce. All of the examples will use this string-based datetime input unless otherwise indicated: