I have a Spreadsheet and before the data is received by the Spreadsheet I am adding this format: 'dd-MM-yyyy HH:mm:sss' so that the column can come in with a Short Date in an Australian format (Day / Month / Year).
For reference this is the DateTime on the object before it is formatted.
2023-09-08 06:03:00.000
It is then formatted in my Spreadsheet as 08-09-23 6:03:0 correctly doing dd-mm-yy for some reason yyyy ends up as yy which is another more minor issue.
In the formula bar this is also shown as 9/8/2023 6:03:00 AM and when I double click the cell and enter into editing mode this is also the displayed data.
So now I have month first but when I make this edit and update the cell on cellSave it reverts back to the dd-mm-yyyy but then includes the AM/PM 18/9/2023 6:03:00 AM
There is no extra code for this column on the cellSave the object is detected on the event as explained.
Is there anything to ensure that my displayText and value are aligned while using a dd-mm-yyyy format?
I can't find anything in the documentation for this.
Much appreciate in advance as this has been troubling me for quite some time and feel like I would potentially run into similar issues with other areas of Syncfusion.
MCR
Hi Myles Renaud,
Please find the details regarding the reported queries below.
S.No | Queries | Comments |
1 |
|
|
2 |
|
For your reference, we have attached the created sample below. |
3. |
Now I have month first but when I make this edit and update the cell on cellSave it reverts back to the dd-mm-yyyy but then includes the AM/PM 18/9/2023 6:03:00 AM. |
These details will help us understand how you maintained and loaded the data on your end, allowing us to replicate your reported problems based on our end and provide a quicker solution. |
Regards,
Janakiraman S.