(feat) Support preserving Millisec in date parsing and formatting
This commit is contained in:
parent
22b48f90de
commit
f49368d3fc
2 changed files with 61 additions and 3 deletions
|
@ -11,5 +11,10 @@
|
|||
|
||||
%% See readme section here:
|
||||
%% https://github.com/choptastic/qdate#about-backwards-compatibility-with-ec_date-and-deterministic-parsing
|
||||
{deterministic_parsing, {zero, zero}}
|
||||
{deterministic_parsing, {zero, zero}},
|
||||
|
||||
%% Preserve Milliseconds in parsing
|
||||
%% Changes the return for qdate:to_date to include any Ms value
|
||||
%% and also changes the return of to_string to include the Ms value
|
||||
{preserve_ms, false}
|
||||
]}].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue