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

r3zas created an issue. See original summary.

hkoosha’s picture

Status: Active » Needs review
Issue tags: -node save

Scheduler support is now added to dev branch (8.x-1.x), please verify if it works.

thanks.

r3zas’s picture

thank 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

hkoosha’s picture

could 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

r3zas’s picture

thank you
it's ok
but when I edit a node, the schedule date is displayed as Gregorian

hkoosha’s picture

Status: Needs review » Postponed

Yes, I'm aware of this one. I'll try to fix it ASAP, and then release it.

hkoosha’s picture

Status: Postponed » Needs review

Ok I fixed it. Please test the dev branch again. If it's good, we'll release.

r3zas’s picture

thank you
it's fixed

hkoosha’s picture

Status: Needs review » Fixed
hkoosha’s picture

Status: Fixed » Closed (fixed)
avpaderno’s picture

Version: 8.x-1.5 » 8.x-1.x-dev