Timeline for magento 2 custom calendar instead of core calendar
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2019 at 10:11 | answer | added | fmsthird | timeline score: 1 | |
Apr 4, 2019 at 10:08 | history | edited | Behzad kahvand | CC BY-SA 4.0 |
added 4 characters in body
|
Apr 4, 2019 at 10:00 | comment | added | fmsthird | maybe check some methods in your date.js that fetches the date time picker and change its format and check if the format saved in the database is changed also | |
Apr 4, 2019 at 9:59 | comment | added | fmsthird | I think the date that was passed to db is the date from the date time picker | |
Apr 4, 2019 at 9:53 | comment | added | Behzad kahvand | @magefms , when I check console when sending to server it still has correct gregorian value , but stored value in database is different later. | |
Apr 4, 2019 at 9:50 | comment | added | Behzad kahvand | @magefms shiftedValue = jMoment.from(shiftedValue, 'fa', 'DD/MM/YYYY HH:mm').format(this.pickerDateTimeFormat); because calendar UI format date is : 'DD/MM/YYYY HH:mm' . this part works correctly and it convert persain date to valid gregorian date . | |
Apr 4, 2019 at 9:44 | comment | added | fmsthird |
shiftedValue = jMoment.from(shiftedValue, 'fa', 'DD/MM/YYYY HH:mm').format(this.pickerDateTimeFormat); or shiftedValue = jMoment.from(shiftedValue, 'fa', 'YYYY/MM/DD HH:mm').format(this.pickerDateTimeFormat); ?
|
|
Apr 4, 2019 at 9:39 | comment | added | Behzad kahvand | @magefms thanks for reply , I changed the question and added some changes to it , please check it again . | |
Apr 4, 2019 at 9:37 | history | edited | Behzad kahvand | CC BY-SA 4.0 |
added 2380 characters in body
|
Apr 4, 2019 at 5:05 | comment | added | fmsthird | can you share your whole code for sending date to the server | |
Apr 3, 2019 at 23:56 | history | edited | Behzad kahvand | CC BY-SA 4.0 |
edited title
|
Apr 3, 2019 at 23:23 | history | asked | Behzad kahvand | CC BY-SA 4.0 |