fluent / fluent/fluent-plugin-sql

ActiveRecord default timezone

Open
#43 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
112
Forks
58
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.