Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rTubeDB - wrong conversion of datetime #32

Open
Jules- opened this issue Mar 23, 2023 · 0 comments
Open

rTubeDB - wrong conversion of datetime #32

Jules- opened this issue Mar 23, 2023 · 0 comments

Comments

@Jules-
Copy link

Jules- commented Mar 23, 2023

Hello, I have found a problem with the conversion of datetime in the rTubeDB::query_timeseries function. The data is in UTC timezone.

image

When I download the data with the parameter datetimeFormat = "character", everything works correctly:

table <- rTubeDB::query_timeseries(tubedb, plot="HOSEK_562", sensor="TMS_T1", aggregation = "raw", quality = "no", datetimeFormat = "character")

image

However, when I use datetimeFormat = "POSIXct", the datetime is converted to local time and when CEST changes to CET time zone, datetimes are duplicated:

table <- rTubeDB::query_timeseries(tubedb, plot="HOSEK_562", sensor="TMS_T1", aggregation = "raw", quality = "no", datetimeFormat = "POSIXct")

image

image

I will use datetimeFormat = "character", but I am reporting this issue for information purposes.

TubeDB version - 1.22.10

rTubeDB - 1.3.3

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

No branches or pull requests

1 participant