Skip to content

Commit

Permalink
DateTimeToJsonDate little correction
Browse files Browse the repository at this point in the history
  • Loading branch information
exilon committed Jan 24, 2019
1 parent 92180c7 commit 22d99ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Quick.Commons.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Author : Kike Pérez
Version : 1.5
Created : 14/07/2017
Modified : 18/01/2019
Modified : 24/01/2019
This file is part of QuickLib: https://github.com/exilon/QuickLib
Expand Down Expand Up @@ -1090,7 +1090,7 @@ function DateTimeToJsonDate(aDateTime : TDateTime) : string;
FmtSettings.DateSeparator := '-';
FmtSettings.TimeSeparator := ':';
FmtSettings.ShortDateFormat := 'YYYY-MM-DD"T"HH:NN:SS.ZZZ"Z"';
Result := DateTimeToStr(aDateTime,FmtSettings);
Result := DateTimeToStr(aDateTime,FmtSettings).Trim;
{$ENDIF}
end;

Expand Down

0 comments on commit 22d99ae

Please sign in to comment.