-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
Error 500 : create time sheet from calendar view #1032
Comments
Try:
I found this here: humhub/humhub#2846 |
Hello, |
By setting a timezone you are just "hiding" a problem with something else in your system/environment. This error indicates that something is wrong with (I guess) your ICU database. Oh and you can set a default timezone for new users in Administration/Settings. |
My OS locales looks fine : [root@localhost ~]# locale Tried to change date.timezone in php.ini but with no luck ICU version looks also fine : I'll take the option of default timezone for new users in Administration/Settings. |
I dno't know much about the ICU system. Found those on my servers:
But as long as it works with a "real" timezone instead of Zulu, I think you can ignore the problem. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai. |
BTW: this seems to be a bug in Symfony. I was wrong with my assumption above about the ICU database. |
Describe the bug
I receive an http 500 error when creating a timesheet entry from the calendar view
Request failing : http://localhost:8080/en/timesheet/create?from=2019-08-14T05:30:00Z&to=2019-08-14T06:30:00Z
To Reproduce
Steps to reproduce the behavior:
Logfile
[2019-08-14 08:47:28] request.CRITICAL: Uncaught PHP Exception IntlException: "datefmt_create: time zone id 'Z' extracted from ext/date DateTimeZone not recognized: U_ILLEGAL_ARGUMENT_ERROR" at /var/www/html/kimai2/vendor/symfony/form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php line 170 {"exception":"[object] (IntlException(code: 1): datefmt_create: time zone id 'Z' extracted from ext/date DateTimeZone not recognized: U_ILLEGAL_ARGUMENT_ERROR at /var/www/html/kimai2/vendor/symfony/form/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php:170)"} []
Environment :
CentOS Linux release 7.6.1810 (Core)
PHP 7.2.21 (cli) (built: Jul 30 2019 14:46:08) ( NTS )
mysql Ver 14.14 Distrib 5.6.45, for Linux (x86_64) using EditLine wrapper
Kimai 2 - 1.1 stable (Ayumi) by Kevin Papst and contributors.
The text was updated successfully, but these errors were encountered: