Skip to content

Commit

Permalink
Merge pull request #306 from ifad/chore/remove-useless-constant
Browse files Browse the repository at this point in the history
Remove useless constant
  • Loading branch information
tagliala authored Jun 2, 2024
2 parents 5b39651 + f7b3407 commit 729c449
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/chrono_model/conversions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ module ChronoModel
module Conversions
module_function

ISO_DATETIME = /\A(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)(?:\.(\d+))?\z/

def time_to_utc_string(time)
time.to_fs(:db) << '.' << format('%06d', time.usec)
end
Expand Down

0 comments on commit 729c449

Please sign in to comment.