Issue with Time Format Change During CSV Import in Spread Js

Posted by: npathak on 4 March 2025, 12:37 pm EST

  • Posted 4 March 2025, 12:37 pm EST

    Issue Summary:

    When importing a CSV file into spread designer, the time format from the source document is not maintained. The time format in the original file is hh:mm:ss, but upon import, the format is automatically changed to “General,” which causes the time data to alter (e.g., 100:39:41 becomes 4:39:41 after import).

    Steps to Reproduce:

    visit https://developer.mescius.com/spreadjs/demos/features/spreadjs-file-format/overview/purejs

    import csv containing data in the above format.

    Observe that the time data in the imported file (originally in hh:mm:ss format) changes to the “General” format.

    Expected Behavior:

    The time data in the imported CSV file should retain its original format (hh:mm:ss) without automatically switching to “General” format.

    Actual Behavior:

    Upon import, the format changes to “General,” which alters the time data. For example, 100:39:41 becomes 4:39:41.

    CSV attached for reference

  • Posted 4 March 2025, 12:38 pm EST

  • Posted 5 March 2025, 7:08 am EST

    Hi,

    We can replicate the behavior you mentioned on our end. We are discussing the same with the development team as soon as we get any information from their end.

    Internal Tracking ID: SJS-28469

    Best Regards,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels