129 130 131
# File 'lib/zones.rb', line 129 def iso_date(fmt="%Y-%m-%d") to_day.strftime(fmt) end
125 126 127
# File 'lib/zones.rb', line 125 def to_day Date.to_day(self) end
133 134 135
# File 'lib/zones.rb', line 133 def to_tz(*args) Time.tz(self, *args) end
137 138 139
# File 'lib/zones.rb', line 137 def to_tz!(*args) Time.tz!(self, *args) end