sum12 commented on issue #500:
URL: https://github.com/apache/arrow-rs/issues/500#issuecomment-915194224
I would like to work on this.
split in two parts
- if tz is of the form `[+-][0-9]{2}:[0-9]{2}` then construct a
`chrono::offset::FixedOffset` object from the provided tz string and add that
at offset to the `NaiveDateTime` (`NaiveDateTIme` implements `Add<FixedOffset>`)
- else if it is a string which cannot be parsed as above we use th
`chrono-tz` crate to generate an offset
sounds okay ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]