fluent / fluent/fluent-plugin-sql

ActiveRecord default timezone

オープン
#43 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Ruby
スター
112
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by locating where the plugin configures ActiveRecord and where database values are read. Inspect the ActiveRecord::Base.default_timezone setting and verify behavior with the supported database configurations. Done means reads no longer force UTC when the database timezone is set to local.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rails, ruby
領域
backend, databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。