lib/ext/date_time.rb in chgk_rating-2.1.0 vs lib/ext/date_time.rb in chgk_rating-2.2.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
class DateTime
def to_s_chgk
- self.strftime('%Y-%m-%d %H:%M:%S')
+ strftime('%Y-%m-%d %H:%M:%S')
end
-end
\ No newline at end of file
+end