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

Invalid DateTime if you're not admin user #1922

Open
gema-marino opened this issue Jun 26, 2024 · 1 comment
Open

Invalid DateTime if you're not admin user #1922

gema-marino opened this issue Jun 26, 2024 · 1 comment

Comments

@gema-marino
Copy link

gema-marino commented Jun 26, 2024

I have a problem with the dates depending on the user role.

When I open a playbook being a member of the team, I see a error message and the system is not able to open the playbook:
plugin error
However, if I'm an administrator I can do it.

Using the developers tool, I can see that when I'm a member, the dates are not loaded, with the following error in the code:
"created by diffing an invalid DateTime" and in the console:
error years
However, I can see the playbook information beeing administrator.

Being admin:
admin

Being member:
member

I have the same problem with the remind option in messages. If I'm a member of the team, I see "Invalid Date time" when I want to remind the message with custom option:
invalid

However, I can do it if I'm administrator.

Could you help me, please?

Kind regards,
Gema

@david-gonzalez-imatia
Copy link

Hello to all. For those who want to or have a similar error in their respective projects. To solve it, we realised that the luxon library was malfunctioning in our environment so the timezone was not working. To fix it, we add to each user the timezone when creating in the manualTimezone and we disable the varibale of useAutomaticTimezone to false.
I hope this helps. Regards david

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants