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.3.3 app/services/hyrax/time_service.rb
hyrax-2.3.2 app/services/hyrax/time_service.rb
hyrax-2.3.1 app/services/hyrax/time_service.rb
hyrax-1.1.1 app/services/hyrax/time_service.rb
hyrax-2.3.0 app/services/hyrax/time_service.rb
hyrax-2.0.3 app/services/hyrax/time_service.rb
hyrax-2.2.4 app/services/hyrax/time_service.rb
hyrax-2.2.3 app/services/hyrax/time_service.rb
hyrax-2.2.2 app/services/hyrax/time_service.rb
hyrax-2.2.1 app/services/hyrax/time_service.rb
hyrax-2.2.0 app/services/hyrax/time_service.rb
hyrax-2.1.0 app/services/hyrax/time_service.rb
hyrax-2.1.0.rc4 app/services/hyrax/time_service.rb
hyrax-2.1.0.rc3 app/services/hyrax/time_service.rb
hyrax-2.1.0.rc2 app/services/hyrax/time_service.rb
hyrax-2.1.0.rc1 app/services/hyrax/time_service.rb
hyrax-1.1.0 app/services/hyrax/time_service.rb
hyrax-2.1.0.beta2 app/services/hyrax/time_service.rb
hyrax-2.0.2 app/services/hyrax/time_service.rb
hyrax-2.1.0.beta1 app/services/hyrax/time_service.rb