Parsing a datetime string to local time in rust chrono

前端 未结 0 1455
天涯浪人
天涯浪人 2021-01-21 08:51

Having trouble with a simple problem. I have a string that does not include timezone information that I need to parse into a DateTime struct. I can get it as UTC, but not local:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题