Sha256: a817beb71c812ac26db0f1f7d0fb15f0dcb7d8d1b2da729e7dbbe21a0f12e6fd

Contents?: true

Size: 148 Bytes

Versions: 58

Compression:

Stored size: 148 Bytes

Contents

module Hyrax
  class TimeService
    # @return [DateTime] the current time in UTC
    def self.time_in_utc
      DateTime.current
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.9.6 app/services/hyrax/time_service.rb
hyrax-2.9.5 app/services/hyrax/time_service.rb
hyrax-2.9.4 app/services/hyrax/time_service.rb
hyrax-2.9.3 app/services/hyrax/time_service.rb
hyrax-2.9.2 app/services/hyrax/time_service.rb
hyrax-2.9.1 app/services/hyrax/time_service.rb
hyrax-2.9.0 app/services/hyrax/time_service.rb
hyrax-2.8.0 app/services/hyrax/time_service.rb
hyrax-2.7.2 app/services/hyrax/time_service.rb
hyrax-2.7.1 app/services/hyrax/time_service.rb
hyrax-2.7.0 app/services/hyrax/time_service.rb
hyrax-2.6.0 app/services/hyrax/time_service.rb
hyrax-3.0.0.pre.rc1 app/services/hyrax/time_service.rb
hyrax-3.0.0.pre.beta3 app/services/hyrax/time_service.rb
hyrax-2.5.1 app/services/hyrax/time_service.rb
hyrax-2.5.0 app/services/hyrax/time_service.rb
hyrax-3.0.0.pre.beta2 app/services/hyrax/time_service.rb
hyrax-2.4.1 app/services/hyrax/time_service.rb
hyrax-3.0.0.pre.beta1 app/services/hyrax/time_service.rb
hyrax-2.4.0 app/services/hyrax/time_service.rb