From 9405ee7379efbf16e13c172e4106638004ba44a4 Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Tue, 10 Apr 2018 17:17:01 +0200 Subject: [PATCH] Version 1.7.4 --- DESCRIPTION | 2 +- NEWS.md | 5 +++-- README.Rmd | 22 +++++++++++----------- README.md | 2 +- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bcf03123..3a77a9b8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: lubridate Type: Package -Version: 1.7.3 +Version: 1.7.4 Title: Make Dealing with Dates a Little Easier Description: Functions to work with date-times and time-spans: fast and user friendly parsing of date-time data, extraction and updating of components of diff --git a/NEWS.md b/NEWS.md index c165a487..3d92028f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,5 @@ -Version 1.7.3.9000 -================== +Version 1.7.4 +============= ### NEW FEATURES @@ -14,6 +14,7 @@ Version 1.7.3.9000 ### BUG FIXES * [#664](https://github.com/tidyverse/lubridate/issues/664) Fix lookup of period functions in `as.period` +* [#649](https://github.com/tidyverse/lubridate/issues/664) Fix system timezone memoization Version 1.7.3 ============= diff --git a/README.Rmd b/README.Rmd index 14009bd7..38e130cc 100644 --- a/README.Rmd +++ b/README.Rmd @@ -19,15 +19,15 @@ library(lubridate) [![Build Status](https://travis-ci.org/tidyverse/lubridate.svg?branch=master)](https://travis-ci.org/tidyverse/lubridate) [![Coverage Status](https://codecov.io/gh/tidyverse/lubridate/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/lubridate) [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/lubridate)](https://cran.r-project.org/package=lubridate) -[![Development version](https://img.shields.io/badge/devel-1.6.0.9000-orange.svg)](https://github.com/tidyverse/lubridate) +[![Development version](https://img.shields.io/badge/devel-1.7.4.9000-orange.svg)](https://github.com/tidyverse/lubridate) [![CRAN version](http://www.r-pkg.org/badges/version/lubridate)](https://cran.r-project.org/package=lubridate) ## Overview -Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones, leap days, daylight savings times, and other time related quirks, and R lacks these capabilities in some situations. Lubridate makes it easier to do the things R does with date-times and possible to do the things R does not. +Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones, leap days, daylight savings times, and other time related quirks, and R lacks these capabilities in some situations. Lubridate makes it easier to do the things R does with date-times and possible to do the things R does not. -If you are new to lubridate, the best place to start is the -[date and times chapter](http://r4ds.had.co.nz/dates-and-times.html) in R +If you are new to lubridate, the best place to start is the +[date and times chapter](http://r4ds.had.co.nz/dates-and-times.html) in R for data science. @@ -47,9 +47,9 @@ devtools::install_github("tidyverse/lubridate") ## Features -* Easy and fast parsing of date-times: `ymd()`, `ymd_hms`, `dmy()`, `dmy_hms`, +* Easy and fast parsing of date-times: `ymd()`, `ymd_hms`, `dmy()`, `dmy_hms`, `mdy()`, ... - + ```{r} ymd(20101215) mdy("4/1/17") @@ -57,12 +57,12 @@ devtools::install_github("tidyverse/lubridate") * Simple functions to get and set components of a date-time, such as `year()`, `month()`, `mday()`, `hour()`, `minute()` and `second()`: - + ```{r} bday <- dmy("14/10/1979") month(bday) wday(bday, label = TRUE) - + year(bday) <- 2016 wday(bday, label = TRUE) ``` @@ -72,10 +72,10 @@ devtools::install_github("tidyverse/lubridate") ```{r} time <- ymd_hms("2010-12-13 15:30:30") time - + # Changes printing with_tz(time, "America/Chicago") - + # Changes time force_tz(time, "America/Chicago") ``` @@ -84,7 +84,7 @@ Lubridate also expands the type of mathematical operations that can be performed * `durations`, which measure the exact amount of time between two points -* `periods`, which accurately track clock times despite leap years, leap +* `periods`, which accurately track clock times despite leap years, leap seconds, and day light savings time * `intervals`, a protean summary of the time information between two points diff --git a/README.md b/README.md index c0aa2f17..2e369f27 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ lubridate ========================================================== -[![Build Status](https://travis-ci.org/tidyverse/lubridate.svg?branch=master)](https://travis-ci.org/tidyverse/lubridate) [![Coverage Status](https://codecov.io/gh/tidyverse/lubridate/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/lubridate) [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/lubridate)](https://cran.r-project.org/package=lubridate) [![Development version](https://img.shields.io/badge/devel-1.6.0.9000-orange.svg)](https://github.com/tidyverse/lubridate) [![CRAN version](http://www.r-pkg.org/badges/version/lubridate)](https://cran.r-project.org/package=lubridate) +[![Build Status](https://travis-ci.org/tidyverse/lubridate.svg?branch=master)](https://travis-ci.org/tidyverse/lubridate) [![Coverage Status](https://codecov.io/gh/tidyverse/lubridate/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/lubridate) [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/lubridate)](https://cran.r-project.org/package=lubridate) [![Development version](https://img.shields.io/badge/devel-1.7.4.9000-orange.svg)](https://github.com/tidyverse/lubridate) [![CRAN version](http://www.r-pkg.org/badges/version/lubridate)](https://cran.r-project.org/package=lubridate) Overview --------