Skip to content

Commit

Permalink
Include fractions of a second. Fix issue bebanjo#19
Browse files Browse the repository at this point in the history
  • Loading branch information
Holek authored and Mike Połtyn committed Jan 8, 2013
1 parent cd675b6 commit dcb40e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delorean.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class << DateTime
alias_method :now_without_delorean, :now

def now(sg=Date::ITALY)
self.iso8601( Time.now.to_datetime.iso8601, sg )
self.iso8601( Time.now.to_datetime.iso8601(3), sg )
end
end
end

0 comments on commit dcb40e6

Please sign in to comment.