-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Last year missing in the navigation bar of monthly pages #30
Comments
You are right, I totally overlooked this. Thank you for reporting! Follow-up of #24 |
@Jterrettaz I had a look over this and after removing all old generated output files (especially the archive months eg. month-2021-10.html) and starting a new report run, the year links are appearing in the navigation. Could you try the same? If your output folder is
|
@Daveiano : When I installed the version 1.3.2, I deleted all the monthly files and they were generated again with the last version. |
@Jterrettaz Wow, that's a lot of data! Sorry, I got you now! Thanks for sharing the example. I don't have a database that big for testing but I have a gues what the cause could be: Could you please test to replace Line 62 in archive_util.py (located in the user directory, see https://www.weewx.com/docs/usersguide.htm#Where_to_find_things) from
to
This should fix the problem. Don't forget to remove the month pages from the html folder. |
It is OK with this modification. |
Thanks for testing this! I will include this in the upcoming 1.3.3 release, which should be available by the end of the week. |
Hi, there is still a little problem with the year-month list in the navigation bar. When choosing any month, the last year (2022) is not visible anymore in the navigation bar.
The text was updated successfully, but these errors were encountered: