DateTimeParser v1.0.0 DateTimeParser.Parser.DateTime View Source

Tokenizes the string for both date and time formats. This prioritizes the international standard for representing dates.

Link to this section Summary

Functions

Convert the given NaiveDateTime to a DateTime if the user provided to_utc: true. If the result is already in UTC, this will pass through.

Link to this section Functions

Link to this function

maybe_convert_to_utc(datetime, opts)

View Source

Convert the given NaiveDateTime to a DateTime if the user provided to_utc: true. If the result is already in UTC, this will pass through.