Giter VIP home page Giter VIP logo

Comments (3)

luke- avatar luke- commented on August 29, 2024

HI,

can you please test it on our Hosting with same locale/language?

www.humhub.org/en/hosting

from calendar.

jakubdibala avatar jakubdibala commented on August 29, 2024

I did. Same result.

Here is exception from log:

exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (27. 11. 2015) at position 0 (2): Unexpected character' in /srv/www/htdocs/wedostest/modules/calendar/models/CalendarEntry.php:141 Stack trace: #0 /srv/www/htdocs/wedostest/modules/calendar/models/CalendarEntry.php(141): DateTime->__construct('27. 11. 2015') #1 [internal function]: humhub\modules\calendar\models\CalendarEntry->validateEndTime('end_datetime', NULL) #2 /srv/humhub/protected/vendor/yiisoft/yii2/validators/InlineValidator.php(69): call_user_func(Array, 'end_datetime', NULL) #3 /srv/humhub/protected/vendor/yiisoft/yii2/validators/Validator.php(240): yii\validators\InlineValidator->validateAttribute(Object(humhub\modules\calendar\models\CalendarEntry), 'end_datetime') #4 /srv/humhub/protected/vendor/yiisoft/yii2/base/Model.php(352): yii\validators\Validator->validateAttributes(Object(humhub\modules\calendar\models\CalendarEntry), Array) #5 /srv/www/htdocs/wedostest/modules/calendar/controllers/EntryController.php(82): yii\base\Model->validate() #6 [internal function]: humhub\modules\calendar\controllers\EntryController->actionEdit() #7 /srv/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array) #8 /srv/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array) #9 /srv/humhub/protected/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction('edit', Array) #10 /srv/humhub/protected/vendor/yiisoft/yii2/web/Application.php(84): yii\base\Module->runAction('calendar/entry/...', Array) #11 /srv/humhub/protected/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(humhub\components\Request)) #12 /srv/www/htdocs/wedostest/index.php(19): yii\base\Application->run() #13 {main}

Do you need any additional info?

from calendar.

CCRS-WEB avatar CCRS-WEB commented on August 29, 2024

i made a quick fix with normalize date, remove special chars and accents. Depends on your language settings

from calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.