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

Displayed date & time in UTC #54

Closed
AleksovAnry opened this issue Jul 25, 2020 · 4 comments
Closed

Displayed date & time in UTC #54

AleksovAnry opened this issue Jul 25, 2020 · 4 comments
Assignees
Milestone

Comments

@AleksovAnry
Copy link
Contributor

Report displays time in UTC, it not use local/server timezone.

@Rello
Copy link
Owner

Rello commented Jul 29, 2020

Hello,
can you please give me some detail on your data?
did you use the API? which format did you push there?

@Rello Rello self-assigned this Jul 29, 2020
@Rello Rello added the needs info feedback from requester required label Jul 29, 2020
@AleksovAnry
Copy link
Contributor Author

AleksovAnry commented Aug 2, 2020

Hi!
Yes. I use HTML Grabber.
URL https://weather.com/ru-RU/weather/today/l/RSXX0063:1:RS
Regex /(location--1YWj_">)(?<dimension>.*)(<\/h1><d)(.*)(tempValue--MHmYY">)(?<value>.*)(°<\/span><d)/
Diagram+table
Type: line
{"scales":{"xAxes":[{"time":{"displayFormats":{"quarter":"MMM D"}}}],"yAxes":[{},{"display":true}]}}

@Rello
Copy link
Owner

Rello commented Dec 2, 2020

Hello,
sorry for the late reply.
did you continue here?

I was playing with your regex but its a little difficult. for me I could not get the separation at the "°". this seems to be a tricky one.
https://stackoverflow.com/questions/3140734/unicode-preg-replace-problem-in-php

But this is not your issue, correct?
you are loading the data with the option to add the timestamps, correct?
Bildschirmfoto 2020-12-02 um 19 33 39

I am still searching on how to handle this issue

@Rello Rello added in progress development in progress and removed needs info feedback from requester required labels Dec 2, 2020
@Rello Rello added this to the 3.4.0 milestone Mar 1, 2021
@Rello Rello added testing development finished; in testing and removed in progress development in progress labels Mar 1, 2021
Rello added a commit that referenced this issue Mar 1, 2021
@Rello
Copy link
Owner

Rello commented Mar 1, 2021

Finally ;-)
Timestamps are stored in UTC an then calculated to local time for the reporting

Rello added a commit that referenced this issue Mar 1, 2021
@Rello Rello added pending release part of the next release version and removed testing development finished; in testing pending release part of the next release version labels Mar 7, 2021
@Rello Rello closed this as completed Mar 13, 2021
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

2 participants