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

Timeline label shows repeated months #5916

Open
rafaelveloso opened this Issue Sep 7, 2017 · 8 comments

Comments

Projects
None yet
8 participants
@rafaelveloso
Copy link

rafaelveloso commented Sep 7, 2017

More often than not, I get my timeline charts all messed up because I get repeated periods on the label. This caused all data to be shifted on the visual presentation, making it absolutely misleading.
Does this happen to anyone else and is there a way to fix it?

screen shot 2017-09-07 at 15 32 26

@mazameli

This comment has been minimized.

Copy link
Contributor

mazameli commented Sep 7, 2017

Pretty sure this is a dupe of one of our many timezone related issues which should hopefully be fixed by a bunch of work @senior has done for 0.26. Does this issue look like that to you, @senior?

@mazameli

This comment has been minimized.

Copy link
Contributor

mazameli commented Sep 7, 2017

Incidentally, @rafaelveloso, could you specify:

  • your metabase version
  • What is your database's timezone?
  • Are you using an explicit time zone setting on each timestamp, or are the timestamps being stored without a timestamp? (E.g., Dec 1, 2019 00:00:00Z00 is an explicitly timestamped value, but Dec 1, 2019 has an implied time zone.)
  • What time zone is the database server set to?
  • What time zone is the server that is running Metabase set to?
  • What is your Report Time Zone setting in the Metabase Admin Panel?
  • What is your browser time zone setting?
@senior

This comment has been minimized.

Copy link
Member

senior commented Sep 7, 2017

@mazameli that looks different to me. What we saw in the bugs I fixed were dates that were consistently off due to timezone shifting, i.e. no January and an extra June bar as opposed to the same month twice and missing a month. It would be good to get the info above though to see if we can recreate it.

@rafaelveloso

This comment has been minimized.

Copy link

rafaelveloso commented Sep 8, 2017

@mazameli Thanks for the quick reply.
Let me know if you need anything else while trying to reproduce this.

your metabase version

0.25.2

What is your database's timezone?

UTC

Are you using an explicit time zone setting on each timestamp, or are the timestamps being stored without a timestamp? (E.g., Dec 1, 2019 00:00:00Z00 is an explicitly timestamped value, but Dec 1, 2019 has an implied time zone.)

I'm using timestamp with timezone on all my date fields, but all are using the database's default timezone.

What time zone is the database server set to?

UTC

What time zone is the server that is running Metabase set to?

UTC

What is your Report Time Zone setting in the Metabase Admin Panel?

Database Default

What is your browser time zone setting?

UTC

@ebalgava

This comment has been minimized.

Copy link

ebalgava commented Oct 13, 2017

I'm having same issue with shifted date labels in charts:
https://bi.ekosystem.slovensko.digital/public/dashboard/86ce303c-05bf-4947-bb39-d2a958208492
@salsakran anounced 'this should be fixed in 0.26' but my issue still persists within v0.26.1:
#3642 (comment)

@tlrobinson

This comment has been minimized.

Copy link
Member

tlrobinson commented Apr 7, 2018

@rafaelveloso @ebalgava @TeamDKS I believe we have a fix for this in #7247. Please give it a try and let me know if it does or doesn't fix this for you (and hopefully doesn't make things worse...)

@artem-levashov

This comment has been minimized.

Copy link

artem-levashov commented Oct 10, 2018

I had same problem with GA reports when usied yearMonth grouping. For me problem was in timezone. To fix it i made 2 steps

  1. in Admin panel set report timezone to UTC
  2. rewrote service which is running metabes. jar:
    from
    java -jar metabase.jar
    to
    java -Duser.timezone=US/Central -jar metabase.jar
    After restart all dates show correctly
@jlisyc

This comment has been minimized.

Copy link

jlisyc commented Dec 27, 2018

related #9175

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