mihon icon indicating copy to clipboard operation
mihon copied to clipboard

Wrong date in history

Open joaoandre120 opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Read a couple of different manga.
  2. Open history list.
  3. It's gonna show the wrong date (today, yesterday...).

Expected behavior

Show the right date

Actual behavior

Showing the wrong date

3

Crash logs

No response

Mihon version

0.16.1

Android version

Android version: 10 (SDK 29)

Device

UMIDIGI A9 Pro

Other details

It started with the last version of tachi.

1 2 3

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [X] I have written a short but informative title.
  • [X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • [X] I have gone through the FAQ and troubleshooting guide.
  • [X] I have updated the app to version 0.16.1.
  • [X] I have updated all installed extensions.
  • [X] I will fill out all of the requested information in this form.

joaoandre120 avatar Jan 23 '24 01:01 joaoandre120

I have the same issue. It also appears on the Updates tab. I think it has to do with the GMT offset. My offset is -6 and interestingly, the error doesn't occur at night.

dthunes avatar Jan 23 '24 03:01 dthunes

On Updates tab I didn't realize, and my timezone is -3, if it helps.

joaoandre120 avatar Jan 23 '24 21:01 joaoandre120

To be clear, the time shows correctly, it just incorrectly groups things as yesterday. It will also move things that are correctly labeled as "Today" to yesterday, but I'm not sure how to replicate that behavior.

joaoandre120's screenshot proves the "yesterday" and "today" lables are (incorrectly) based on GMT and the time is (correctly) based on local timezone. Their timezone is -3 and everything before 21:00 is yesterday and everything after 21:00 is today.

dthunes avatar Jan 24 '24 23:01 dthunes

I'm seeing the same behavior in the Updates tab:

Screenshot_20240213_120019

Screenshot_20240213-115919_Mihon

My timezone offset is -5.

I tried changing my timezone to UTC and looking at the Update Tab again. The date is correct: Screenshot_20240213-171010_Mihon

So it must just not be implementing the timezone shift correctly.

EDIT: After changing back to my local timezone and restarting the app, the date issue persists.

dragon-masterk avatar Feb 13 '24 17:02 dragon-masterk

Also seems like this was tagged before as an issue #58

dragon-masterk avatar Feb 13 '24 17:02 dragon-masterk

Yeah, this looks to me like a duplicate of #58, closing as such.

MajorTanya avatar Feb 15 '24 00:02 MajorTanya