fluent / fluent/fluent-plugin-sql
ActiveRecord default timezone
Đang mở
enhancement
- Ngôn ngữ chính
- Ruby
- Star
- 112
- Fork
- 58
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi,
In reading from DB the time is always set to UTC, disregarding the DB setting.
To solve the issue, I tried to this line in the plugin:
ActiveRecord::Base.default_timezone = :local
It worked.
Regards
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.