-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract more mixin module to compat #1052
Extract more mixin module to compat #1052
Conversation
@time_key = conf['time_key'] || 'time' | ||
@time_format = conf['time_format'] | ||
|
||
if conf['localtime'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional spaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess these additional spaces are used to clarify getting localtime/utc information from conf object.
Former is to get localtime
, latter is to get utc
from conf object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah... Okay, understood.
Almost code looks good. |
I'll merge this later. |
Merged. Thank you! |
Follows up #1044.
I've extracted modules which are defined in
mixin.rb
into compat entirely.