Your network blocks the Lichess assets!

lichess.org
Donate

Dates on the profile graphs

Hello, I would like to report that I just became a member on June 3rd. I've played games and stuff on June 3rd, 4th, and 5th. What I've noticed though is that if I hover my mouse over the graph in the profile, at the very left it shows a date of June 2nd, in the middle June 3rd, and at the right end June 4th. The dates are supposed to be June 3rd, 4th, and 5th. Therefore I think there's a bug in the dates that the profile graph shows, that they are all showing a date one day earlier it's supposed to. Thank you for your attention.

Hello, I would like to report that I just became a member on June 3rd. I've played games and stuff on June 3rd, 4th, and 5th. What I've noticed though is that if I hover my mouse over the graph in the profile, at the very left it shows a date of June 2nd, in the middle June 3rd, and at the right end June 4th. The dates are supposed to be June 3rd, 4th, and 5th. Therefore I think there's a bug in the dates that the profile graph shows, that they are all showing a date one day earlier it's supposed to. Thank you for your attention.

The dates in your profile are displayed correctly here, but only because of my timezone. Experimentation showed that the dates are displayed correctly if the offset to UTC is positive or zero, but in Western timezones with a negative UTC offset I get the off-by-one error that you mentioned Below is my interpretation why this happens.

Dates are displayed to the user in their local time and in a format matching their locale settings. For instance, after setting my language to English, hovering over your user name I see that you joined 2 days ago, and hovering over the "2 days" informs me that you joined exactly on Jun 3 2026, 16:46. To you that would be displayed differently, namely a few hours earlier.

Now the ratings graphs do not display exact times, they have a granularity of one day. So June 3rd actually means "June 3rd 00:00 UTC" although that is not quite correct in your case, since you joined more than 16 hours later. When this "midnight UTC" date is displayed to the user, it actually is on the previous day if their local time has a negative UTC offset.

I hope I have analyzed the problem correctly, but do not know how to fix it.

The dates in your profile are displayed correctly here, but only because of my timezone. Experimentation showed that the dates are displayed correctly if the offset to UTC is positive or zero, but in Western timezones with a negative UTC offset I get the off-by-one error that you mentioned Below is my interpretation why this happens. Dates are displayed to the user in their local time and in a format matching their locale settings. For instance, after setting my language to English, hovering over your user name I see that you joined 2 days ago, and hovering over the "2 days" informs me that you joined exactly on Jun 3 2026, 16:46. To you that would be displayed differently, namely a few hours earlier. Now the ratings graphs do not display exact times, they have a granularity of one day. So June 3rd actually means "June 3rd 00:00 UTC" although that is not quite correct in your case, since you joined more than 16 hours later. When this "midnight UTC" date is displayed to the user, it actually is on the previous day if their local time has a negative UTC offset. I hope I have analyzed the problem correctly, but do not know how to fix it.

My time is UTC-7 which is Pacific time in North America. When I joined it was June 3rd UTC and June 3rd my time as well.

My time is UTC-7 which is Pacific time in North America. When I joined it was June 3rd UTC and June 3rd my time as well.