写到Mongo 中的日期, 是本地时间, 但是读出来的却是 UTC 时间

想当然以为同一时间的不同时区的 XXX.Date 是一样的, 但是, 太想当然了....

写到Mongo 中的日期, 是本地时间, 但是读出来的却是 UTC 时间
想当然以为同一时间的不同时区的 XXX.Date 是一样的, 但是, 太想当然了....
本文标题:UTC / LocalDateTime 的 DateTime.D
本文链接:https://www.haomeiwen.com/subject/tepbektx.html
网友评论