diff --git a/src/ameba/rule/documentation/documentation_admonition.cr b/src/ameba/rule/documentation/documentation_admonition.cr index 5b7993838..a9fd7e8e9 100644 --- a/src/ameba/rule/documentation/documentation_admonition.cr +++ b/src/ameba/rule/documentation/documentation_admonition.cr @@ -45,9 +45,9 @@ module Ameba::Rule::Documentation MSG_ERR = "%s admonition error: %s" @[YAML::Field(ignore: true)] - private getter location : Time::Location { + private getter location : Time::Location do Time::Location.load(self.timezone) - } + end def test(source) Tokenizer.new(source).run do |token|