(feat) Support preserving Millisec in date parsing and formatting

This commit is contained in:
Leonard Boyce 2021-05-03 10:26:56 -04:00
parent 22b48f90de
commit f49368d3fc
2 changed files with 61 additions and 3 deletions

View file

@ -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}
]}].