Guard against accidental time-zone conversion

后端 未结 3 1377
臣服心动
臣服心动 2020-12-06 19:12

In R, I have a bunch of datetime values that I measure in GMT. I keep running into accidents where some function or another loses the timezone on my values, or even loses t

3条回答
  •  失恋的感觉
    2020-12-06 19:39

    Why not set your timezone to GMT for your R sessions, then? If something gets converted to the "current" timezone, it is still right.

提交回复
热议问题