@Michael Vorburger <[email protected]> +1 for your change. Having dealt with date issues in other banking applications, I have come to appreciate the ISO-8601 format. If only everyone used the same date format is a common lament.
I certainly hope no Mifos apps are using the US date standard. But, if they are, we should certainly modify them, rather than maintain a non-standard output in the APIs. my 2 cents. On Sun, May 3, 2020 at 4:04 PM Michael Vorburger <[email protected]> wrote: > Hello everyone, > > If you have a particular interest in the fascinating topic of how to > represent dates in JSON responses of REST APIs such as Fineract's, and > therefore have opinions about the code change proposed in > https://github.com/apache/fineract/pull/816 which modifies the format in > which certain dates are returned by the API in an incompatible way, then > please read https://jira.apache.org/jira/browse/FINERACT-926 for full > background, and comment either directly in that JIRA, or on this thread. > > The short version is that I'm proposing that certain date fields in > Fineract's JSON API (those that internally come from java.util.Date > instances, only) be formatted in ISO-8601 format e.g. > "2011-12-03T10:15:30Z" instead of as e.g. "May 3, 2020 10:51:19 PM", as > they are currently. If this could break any of your clients interpreting > such Date fields, please shout now. > > NB that this this will NOT at all affect other date fields, such as those > currently already formatted as e.g. "[2020, 05, 04]" (which internally come > from org.joda.time.LocalDate instances). > > Tx, > M. > _______________________ > Michael Vorburger > http://www.vorburger.ch >
