Skip to content
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

Meal-plan, week display skewed #2171

Open
mstrandbo opened this issue Nov 15, 2022 · 7 comments
Open

Meal-plan, week display skewed #2171

mstrandbo opened this issue Nov 15, 2022 · 7 comments
Labels
bug Something isn't working dependency Issue in a dependency, waiting for a fix

Comments

@mstrandbo
Copy link

Tandoor Version

1.4.5

Setup

Docker / Docker-Compose

Reverse Proxy

Nginx Proxy Manager (NPM)

Other

No response

Bug description

When in Meal-planner, with week-display enabled, the weeks are skewed one week ahead.

For example, this week (15th nov) is really week 46, but the Meal-planner seems to think it is week 47.

Not sure what logs would be relevant, so here's timedatectl.

$ timedatectl
Local time: Tue 2022-11-15 14:14:58 CET
Universal time: Tue 2022-11-15 13:14:58 UTC
RTC time: Tue 2022-11-15 13:14:58
Time zone: Europe/Oslo (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

Relevant logs

No response

@mstrandbo mstrandbo changed the title Mean-plan, week display skewed Meal-plan, week display skewed Nov 15, 2022
@impeccable16
Copy link

hi @mstrandbo could you please elaborate this issue

@mstrandbo
Copy link
Author

image

I'm not sure how more to elaborate, but see the attached picture.
Tandoor seems to be of the impression the current week is 48, which is wrong.

Here's Google Calendar
image

I'm not saying it's not a underlying problem with my system, but I don't think so. It's running NTP and everything else is correct time-wise.

@vabene1111
Copy link
Collaborator

thanks for the screenshots, either a library or counting problem.

@vabene1111 vabene1111 added the bug Something isn't working label Dec 19, 2022
@jayasuryard31
Copy link

Based on the information you have provided, it seems like the Meal-planner may be using a different time zone or date calculation than your system. The fact that your time date output shows the correct local time and time zone, and that the Meal-planner is displaying the week one week ahead, suggests that there may be a discrepancy between the two.

You could try checking the time zone settings in the Meal-planner application to ensure that they are set to the correct time zone for your location. It's also possible that there may be a bug or issue with the Meal-planner application itself that is causing the week display to be skewed.

If you have access to logs or error messages from the Meal-planner application, you could review those to see if there are any clues as to what might be causing the issue. It's possible that there could be a specific error message or warning that points to the source of the problem.

In any case, it may be helpful to reach out to the developer or support team for the Meal-planner application to report the issue and get assistance with troubleshooting and resolving the problem. They may be able to provide additional guidance or suggest a solution that will help you to get the week display working correctly.

@smilerz smilerz added the dependency Issue in a dependency, waiting for a fix label Sep 6, 2023
@smilerz
Copy link
Collaborator

smilerz commented Sep 6, 2023

Bug reported here.

@smilerz
Copy link
Collaborator

smilerz commented Jan 14, 2024

Reported fixed in next release

richardtallent/vue-simple-calendar#228

@vabene1111
Copy link
Collaborator

sadly vue simple calandar only updates its vue 3 version so we have to wait until we migrated to vue 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependency Issue in a dependency, waiting for a fix
Projects
None yet
Development

No branches or pull requests

5 participants