Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Michael Van Canneyt
On Tue, 19 Jul 2016, Luiz Americo Pereira Camara wrote: 2016-07-19 5:47 GMT-03:00 Michael Van Canneyt : On Tue, 19 Jul 2016, Dimitrios Chr. Ioannidis wrote: Exception class: EAssertionFailedError Exception message: "Correct extended value" expected:

Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Luiz Americo Pereira Camara
2016-07-19 5:47 GMT-03:00 Michael Van Canneyt : > > > On Tue, 19 Jul 2016, Dimitrios Chr. Ioannidis wrote: > > Exception class: EAssertionFailedError >> Exception message: "Correct extended value" expected: <5,67> but was: >> <6> >> at $0043241F

Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Michael Van Canneyt
On Tue, 19 Jul 2016, Sven Barth wrote: value" expected: <4,56> but was: <5> Exception class: EAssertionFailedError Exception message: "Correct value" expected: <4,56> but was: <5> at $00434358 TTESTJSONSTREAMER__ASSERTPROP, line 761 of testjsonrtti.pp Failure:

Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Sven Barth
Am 19.07.2016 10:47 schrieb "Michael Van Canneyt" : > > > > On Tue, 19 Jul 2016, Dimitrios Chr. Ioannidis wrote: > >> On 19/7/2016 10:54 πμ, Michael Van Canneyt wrote: >>> >>> >>> >>> On Mon, 18 Jul 2016, Stéphane Wierzbicki wrote: >>> >> >> >> I have modified

Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Michael Van Canneyt
On Tue, 19 Jul 2016, Dimitrios Chr. Ioannidis wrote: On 19/7/2016 10:54 πμ, Michael Van Canneyt wrote: On Mon, 18 Jul 2016, Stéphane Wierzbicki wrote: I have modified TJSONStreamer and TJSONDeStreamer class to handle ISO8601 dates by adding a new jsoDateTimeAsISO8601 option. Where

Re: [fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Dimitrios Chr. Ioannidis
On 19/7/2016 10:54 πμ, Michael Van Canneyt wrote: On Mon, 18 Jul 2016, Stéphane Wierzbicki wrote: I have modified TJSONStreamer and TJSONDeStreamer class to handle ISO8601 dates by adding a new jsoDateTimeAsISO8601 option. Where can I send these modifications ? What version of FPC did

[fpc-devel] TJSONDeStreamer can't handle such date format 'yyyy-MM-dd"T"hh:nn:ss"Z"'

2016-07-19 Thread Stéphane Wierzbicki
Hello, I'm working with the TJSONStreamer and TJSONDeStreamer class. I need to exchange JSON object with a REST server. Date needs to be formatted this way : '-MM-dd"T"hh:nn:ss"Z"' Here is what I've done : Streamer.Options := Streamer.Options + [jsoDateTimeAsString , jsoUseFormatString];