Class: Hyrax::TimeService

Inherits:
Object
  • Object
show all
Defined in:
app/services/hyrax/time_service.rb

Class Method Summary collapse

Class Method Details

.time_in_utcDateTime

Returns the current time in UTC.

Returns:

  • (DateTime)

    the current time in UTC



4
5
6
# File 'app/services/hyrax/time_service.rb', line 4

def self.time_in_utc
  DateTime.current
end