ActiveRecord default timezone
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Ruby
- Stars
- 112
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fluent/fluent-plugin-sql
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
fluent/fluent-plugin-sql#151 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
fluent/fluent-plugin-sql#149 ·
-
bug needs-investigation
Difficulty 3/5 1-2 days Newbie friendliness 48/100
fluent/fluent-plugin-sql#141 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 42/100
fluent/fluent-plugin-sql#138 · 1 comment ·
-
fluent/fluent-plugin-sql#134 · 6 comments · 1 assignee ·
All issues in fluent/fluent-plugin-sql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
riscv/riscv-unified-db#2624 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100