How to create a new DateTime object in a specific time zone (preferably the default time zone of my app, not UTC)?

前端 未结 0 1117
北恋
北恋 2021-02-11 14:29

I have set the time zone in /config/application.rb, and I expect all times generated in my app to be in this time zone by default, yet when I create a new Dat

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