ropensci / lightr

Import spectral data and related metadata in R
https://docs.ropensci.org/lightr
GNU General Public License v2.0
13 stars 1 forks source link

Return datetime instead of date in metadata #38

Closed Bisaloo closed 3 years ago

Bisaloo commented 3 years ago

Fix #37.

This development version can be installed with:

if (!require("remotes")) {
  install.packages("remotes")
}
remotes::install_github("ropensci/lightr@datetime")

Datetime is now returned instead of date in all the parsers that already supported date parsing.

Things to do before merging this into main:

Bisaloo commented 3 years ago

Tests fail because of my second point: my local computer has a different timezone than GitHub action runners.

Bisaloo commented 3 years ago

anytime is not a good choice here because it can only deal with localtime or UTC but doesn't handle other timezones.