lib/fugit/misc.rb in fugit-1.4.2 vs lib/fugit/misc.rb in fugit-1.4.3

- old
+ new

@@ -1,8 +1,11 @@ # frozen_string_literal: true module Fugit + DAY_S = (24 * 3600).freeze + YEAR_S = (365 * DAY_S).freeze + class << self def isostamp(show_date, show_time, show_usec, time) t = time || Time.now