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

Timezone not taken into account for schedules #136

Open
RKLBusinessDevelopment opened this issue Sep 5, 2024 · 2 comments
Open

Timezone not taken into account for schedules #136

RKLBusinessDevelopment opened this issue Sep 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@RKLBusinessDevelopment
Copy link

When I add a new schedule in the calendar, everything looks fine and timezone is taken into account (eg. current time 01:30 -> calendar shows 01:30). However, once the entry is saved, the timezone is wrong (UTC) so as a workaround I have to add +2 hours for every schedule I need to create.

Is this a bug or did I miss some configuration setting? I tried setting TZ=Europe/Berlin in the environment section of the php-fpm container and also mapped the /ect/localtime:/ect/localtime volume but that didn't fix the problem.

Thanks for a great tool which would be even better with the timezone problem solved. All pointers are welcome. :)

@Volmarg
Copy link
Owner

Volmarg commented Sep 8, 2024

That's a bug, it's something on front.
The dates in calendar are proper, but the data sent to backend has wrong data.

This will sadly need to remain a bug for now, because i can't even quickly run a dev .env on the project anymore.

I'm working on rework and not sure if i will be using the same calendar anymore or not (tho it will take months to finish - https://github.com/Volmarg/personal-management-system-front)

Basically the bug is somewhere in TuiCalendarService.ts, but upon changes the npm run build has to be called.

@Volmarg Volmarg added the bug Something isn't working label Sep 8, 2024
@RKLBusinessDevelopment
Copy link
Author

Thank you for the information and good luck with the rewrite. Meanwhile, I can easily add the +2 hours difference. Good to hear that you are still working on this project, I really appreciate that.

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

No branches or pull requests

2 participants