From f7b3407c2e44796c08d15da98194671d50a57e56 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sun, 2 Jun 2024 16:22:54 +0200 Subject: [PATCH] Remove useless constant Ref: #272 --- lib/chrono_model/conversions.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/chrono_model/conversions.rb b/lib/chrono_model/conversions.rb index fb97063..df0aa32 100644 --- a/lib/chrono_model/conversions.rb +++ b/lib/chrono_model/conversions.rb @@ -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