• Hi there! I’m one of the developers for the WooCommerce for iOS app, and I noticed an issue that prevents the app from working correctly for some stores that are using this plugin.

    Currently, the plugin is getting the store’s date_format option and using that to format the date_shipped value in the API response. That means that, depending on the store’s date settings, in some cases the date is not in an expected format that the app can decode from the response. (It only works if the store is using the 'Y-m-d' date format, or doesn’t have an option set for the date format.)

    If you always use the 'Y-m-d' format, instead, it will ensure the date is in an expected format that the app can handle.

    I hope this helps; it would be great for any merchants using this plugin to be able to use the app for shipment tracking as well!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gaurav1092

    (@gaurav1092)

    Hi @rachelmcr,

    Thank you for bringing the date format issue in our plugin to our attention, especially its impact on the WooCommerce iOS app. We are making a specific update to standardize the ‘date_shipped’ field to the ‘Y-m-d’ format in the Shipment Tracking API response. This update is planned for release by the end of next week, ensuring better compatibility and functionality with the app.

    Best regards,
    Gaurav

    Thread Starter Rachel

    (@rachelmcr)

    Hi Gaurav, that’s great news, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unexpected date format in API response’ is closed to new replies.