Closed (fixed)
Project:
Datex
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2018 at 17:29 UTC
Updated:
26 Sep 2020 at 13:17 UTC
Jump to comment: Most recent
Hello
Thank you for your modules
When I set the content for the schedule time, I encounter the following message and can not save content.
This value should be "-2147483648" or more.
Comments
Comment #2
hkoosha commentedScheduler support is now added to dev branch (8.x-1.x), please verify if it works.
thanks.
Comment #3
r3zas commentedthank you
not fixed i get error
Error: Class 'Drupal\datex\Datex\DateTime' not found in Drupal\datex\Datex\DatexPoorMansJaliliCalendar::_format() (line ۵۴۸ of Error: Class 'Drupal\datex\Datex\DateTime' not found in Drupal\datex\Datex\DatexPoorMansJaliliCalendar::_format() (line ۵۴۸ of /var/www/html/modules/contrib/datex/src/Datex/DatexPoorMansJaliliCalendar.php) #۰ /var/www/html/modules/contrib/datex/src/Datex/DatexPoorMansJaliliCalendar.php(33): Drupal\datex\Datex\DatexPoorMansJaliliCalendar::_format('L', Object(DateTime), true) #1 /var/www/html/modules/contrib/datex/src/DatexFormatter.php(48): Drupal\datex\Datex\DatexPoorMansJaliliCalendar->format('L') #2 /var/www/html/core/lib/Drupal/Core/Datetime/DateFormatter.php(179): Drupal\datex\DatexFormatter->format(1542287004, 'custom', 'L', 'Asia/Tehran', 'fa') #3 [internal function]: Drupal\Core\Datetime\DateFormatter->Drupal\Core\Datetime\{closure}('L') #4 /var/www/html/core/lib/Drupal/Core/Datetime/DateFormatter.php(180): array_map(Object(Closure), Array) #5 /var/www/html/core/modules/system/src/Form/DateFormatFormBase.php(116): Drupal\Core\Datetime\DateFormatter->getSampleDateFormats() #6 /var/www/html/core/modules/system/src/Form/DateFormatEditForm.php(18): Drupal\system\Form\DateFormatFormBase->form(Array, Object(Drupal\Core\Form\FormState)) #7 /var/www/html/core/lib/Drupal/Core/Entity/EntityForm.php(117): Drupal\system\Form\DateFormatEditForm->form(Array, Object(Drupal\Core\Form\FormState)
and in stable version module when add new format date i get error
Comment #4
hkoosha commentedcould you please check dev branch once more? I think it's fixed now. Install datex from dev branch and clear the caches.
https://www.drupal.org/project/datex/releases/8.x-1.x-dev
Comment #5
r3zas commentedthank you
it's ok
but when I edit a node, the schedule date is displayed as Gregorian
Comment #6
hkoosha commentedYes, I'm aware of this one. I'll try to fix it ASAP, and then release it.
Comment #7
hkoosha commentedOk I fixed it. Please test the dev branch again. If it's good, we'll release.
Comment #8
r3zas commentedthank you
it's fixed
Comment #9
hkoosha commentedComment #10
hkoosha commentedComment #11
avpaderno