Skip to content

Commit

Permalink
Remove useless constant
Browse files Browse the repository at this point in the history
Ref: #272
  • Loading branch information
tagliala committed Jun 2, 2024
1 parent 5b39651 commit f7b3407
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 f7b3407

Please sign in to comment.