Unexpected date format in API response
-
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 thedate_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!
- The topic ‘Unexpected date format in API response’ is closed to new replies.