?
avatar ghasemy50
ghasemy50
27 Jun 2017

Steps to reproduce the issue

go to article manager in persian language and jalali calendar
click on new button
go to publishing tab and select a date on start publishing field
then set a title for article and save it.
the date is not change to gregorian calendar before save because date not save.
on my component i have this problem with DateTime::__construct(): Error.
there is problem just in new item on any form that have calendar. on edit i haven't any problem.
thanks for answere

Expected result

not convert jalali date to gregorian date before save new item

Actual result

convert jalali date to gregorian before save new item.

System information (as much as possible)

On Website:
PHP Built On Linux linux3.centraldnserver.com 3.10.0-614.10.2.lve1.4.50.el7.x86_64 #1 SMP Mon May 22 16:28:14 EDT 2017 x86_64
Database Version 10.1.22-MariaDB-cll-lve
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.5.38
Web Server Apache
WebServer to PHP Interface litespeed
Joomla! Version Joomla! 3.7.2 Stable [ Amani ] 22-May-2017 09:46 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; rv:54.0) Gecko/20100101 Firefox/54.0

On localhost:
PHP Built On Windows NT DESKTOP-6J51U5V 6.2 build 9200 (Windows 8 Business Edition) i586
Database Version 5.6.17
Database Collation latin1_swedish_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 5.5.12
Web Server Apache/2.4.9 (Win32) PHP/5.5.12
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.7.2 Stable [ Amani ] 22-May-2017 09:46 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; rv:54.0) Gecko/20100101 Firefox/54.0

avatar ghasemy50 ghasemy50 - open - 27 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Jun 2017
avatar ghasemy50 ghasemy50 - change - 27 Jun 2017
The description was changed
avatar ghasemy50 ghasemy50 - edited - 27 Jun 2017
avatar richard67
richard67 - comment - 27 Jun 2017

Please check if this is a duplicate report to #16628 . If so, then there is already a PR to solve it, #16721 , and you should test it if possible, and this issue should be closed.

If it is not a duplicate report it should remain open.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16884.

avatar richard67
richard67 - comment - 27 Jun 2017

Please check if this is a duplicate report to #16628 . If so, then there is already a PR to solve it, #16721 , and you should test it if possible, and this issue should be closed.

If it is not a duplicate report it should remain open.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16884.

avatar ghasemy50
ghasemy50 - comment - 27 Jun 2017

hi
yes my problem was same as it.
thanks.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16884.

avatar ghasemy50 ghasemy50 - change - 27 Jun 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-06-27 20:26:53
Closed_By ghasemy50
avatar ghasemy50 ghasemy50 - close - 27 Jun 2017
avatar richard67
richard67 - comment - 27 Jun 2017

Then this issue here should be closed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16884.

avatar richard67 richard67 - change - 27 Jun 2017
Status Closed Duplicate Report
avatar richard67
richard67 - comment - 27 Jun 2017

Was duplicate report to #16628 . PR to solve it is #16721


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16884.

Add a Comment

Login with GitHub to post a comment