- 🇨🇦Canada hussainweb
I just committed a few changes related to timezones in 📌 Handle timezones Fixed and that might be tangentially related. Can you try this again?
For the date 29/02/1443 the following error will appears "The created date does not match the input value. in Drupal\Component\Datetime\DateTimePlus::createFromFormat()"
This happened because of this function convertToDrupalDateTime, as 29/02/1443 is wrong date in the gregorian date
$taarikh = \Drupal::service('plugin.manager.taarikh_algorithm');
$algorithm = $taarikh->createInstance('fatimid_astronomical');
$hijri_date = $algorithm->constructDateFromFormat('29/02/1443', "d-m-Y");
Postponed: needs info
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I just committed a few changes related to timezones in 📌 Handle timezones Fixed and that might be tangentially related. Can you try this again?