DateTimeParser.Parser.DateTime.maybe_convert_to_utc
You're seeing just the function
maybe_convert_to_utc
, go back to DateTimeParser.Parser.DateTime module for more information.
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.