yaleman/sprintf

Support %Q

yaleman opened this issue · 0 comments

Splunk compatibility: https://docs.splunk.com/Documentation/Splunk/8.2.4/SearchReference/Commontimeformatvariables

%Q

The subsecond component of a UTC timestamp. The default is milliseconds, %3Q. Valid values are:

  • %3Q = milliseconds, with values of 000-999
  • %6Q = microseconds, with values of 000000-999999
  • %9Q = nanoseconds, with values of 000000000-999999999
%Y-%m-%dT%H:%M:%S.%Q -> 2021-05-31T09:45:22.798