The server sends dates as an ISO string and leaves it to the client to do the formatting. This is right.
However, the server formats currency amounts and sends them through as a formatted string. IMO the server should send (say) a wine price as a decimal number and leave it to the UI to format it as currency.
The server sends dates as an ISO string and leaves it to the client to do the formatting. This is right.
However, the server formats currency amounts and sends them through as a formatted string. IMO the server should send (say) a wine price as a decimal number and leave it to the UI to format it as currency.
At least whatever it does should be consistent.