TraXile icon indicating copy to clipboard operation
TraXile copied to clipboard

Date range filters don't work (custom or league)

Open melink14 opened this issue 2 years ago • 6 comments

If I select any specific league or use custom time range to select any random time frame, it always shows no tracked results.

On the other hand, any relative time period works fine. Last 24 hours, 30 days etc all shows the expected content.

I know in the past there were timestamp problems but think they were supposed to be fixed.

Version 1.1.6 Build: 1666711419

melink14 avatar Dec 21 '22 06:12 melink14

Heyho!

Will check that out, I changed few things for the league filters the last versions, maybe I bricked the Calendar conversion somewhere.

Thanks for reporting!

dermow avatar Dec 21 '22 08:12 dermow

Hey, sorry dit not forget you. Just nearly no time the last weeks. I will provide you a pre-release testversion the next few days (per discord, we should already be in contact there).

dermow avatar Jan 13 '23 10:01 dermow

No worries! It's not a major issue, thanks for following up!

melink14 avatar Jan 14 '23 02:01 melink14

No worries! It's not a major issue, thanks for following up!

Hey - were you be able to check again with 1.1.13? Fixed some date calculation issues there. If issue still persists, let me know. I will send you a debug version then...

dermow avatar Feb 02 '23 00:02 dermow

I still saw some problems but with a bit more testing I think custom time works correctly as long as I understand that the year I'm setting is in Japanese calendar format and not western.

However, for league times, they're always wrong since the years are stored as western dates (2022-2023 etc) but it looks like the app is treating them as Japanese years. (Reiwa 4 - Reiwa 5).

I wonder if when we make the leage info objects there is a way to denote that the arguments are in western format (around here https://github.com/dermow/TraXile/blob/bf6fb5e8341c9c705798e985dc58ce851d2367f3/TraXile/UI/Main.cs#L1382 ?)

Except that that calendar is forced to Gregorian here (https://github.com/dermow/TraXile/blob/bf6fb5e8341c9c705798e985dc58ce851d2367f3/TraXile/UI/Main.cs#L839) so it should be read correctly.

The date selector widget is definitely in Japanese calendar format so maybe the problem in writing and reading from the form?

I'm not sure how dateTimePicker1/2 is made but maybe at some point the raw gregorian values are being copied but no the calendar...

melink14 avatar Feb 02 '23 12:02 melink14

Heyho! Coming back to that older issue: Are you still using the Tool? If you still interested in a solution, could you please provide me with the following:

  • Your Client.txt file
  • Your data.db (Appdata/Roaming/TraXile)
  • Your TraXile.log (Appdata/Roaming/TraXile)
  • Your current installed TraXile version

Will try to reproduce the output of the Calendar widget. Thanks!

dermow avatar Aug 11 '24 10:08 dermow