lib/csl/style/date.rb in csl-1.0.0.pre18 vs lib/csl/style/date.rb in csl-1.0.0.pre19
- old
+ new
@@ -43,10 +43,10 @@
attribute?(:form)
end
alias localized? has_form?
def form
- attributes[:form]
+ attributes[:form].to_s
end
def numeric?
attributes[:form].to_s =~ /^numeric$/i
end
\ No newline at end of file