Skip to content

Fix some time issues#854

Open
ldecicco-USGS wants to merge 9 commits intoDOI-USGS:developfrom
ldecicco-USGS:develop
Open

Fix some time issues#854
ldecicco-USGS wants to merge 9 commits intoDOI-USGS:developfrom
ldecicco-USGS:develop

Conversation

@ldecicco-USGS
Copy link
Collaborator

Should now allow this:

start <- "2025-10-01"
> end <- Sys.Date()
> dataRetrieval:::format_api_dates(c(start, end), date = TRUE)
[1] "2025-10-01/2026-02-02"

(which fixes #853 )

and this:

dataRetrieval:::format_api_dates(c("2010-01-01T00:00Z", "2010-01-01T05:00Z"))
[1] "2010-01-01T00:00:00Z/2010-01-01T05:00:00Z"

(which fixes #839 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant