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

Connectapi package provides wrong timezone #14

Closed
TaylorJerry opened this issue Sep 23, 2020 · 0 comments
Closed

Connectapi package provides wrong timezone #14

TaylorJerry opened this issue Sep 23, 2020 · 0 comments

Comments

@TaylorJerry
Copy link

Hi all,

I am currently working with the connectapi package and found out a bug concerning the timezones.
RStudio Connect saves timestamps in UTC format, my local timezone is CEST.

When I am now calling the connectapi package with a function like get_usage_shiny(), the connectapi package provides the UTC timestamps as wrong CEST timestamps.

For example:
"2020-09-23 06:03:08 UTC" is provided as "2020-09-23 06:03:08 CEST".

For comparison I called the RStudio Connect connectapi directly and the result is the correct timestamp:
"2020-09-23 06:03:08 UTC"

I attached a pdf RMarkdown output, with reproducible code, to emphasize the problem.

I am aware of the fact, that I could just transform the date in the backend, but I really appreciate the connectapi package and would like to contribute to help make it better.

wrong_timezone.pdf

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