Bug: not forcing period as decimal point on european computers

Issue #4 resolved
James Powell repo owner created an issue

Was using

%^<%Y-%m-%dT%H:%M:%S.;%3uZ>T

the .; was accepted (not printed and no error) yet it appears to do nothing.

Actual format needs to be

%.;%^<%Y-%m-%dT%H:%M:%S%3uZ>T

with %.; as a separate item at front.

Comments (5)

  1. James Powell reporter

    Note: Timestamps with a comma will cause error in the SQLite datetime() function, but one can take only the first 20 characters, which excludes the fractional second:

    datetime(substr(MyTime,0,20))

  2. James Powell reporter

    Also note: functions that read the timestamp can handle the comma, even though it is not as per RFC3339 spec.

  3. James Powell reporter

    This also seems to work work (adding a % character before the .;)

    %^<%Y-%m-%dT%H:%M:%S%.;%3uZ>T

  4. Log in to comment