Method: QaServer::TimeService.current_time
- Defined in:
- app/services/qa_server/time_service.rb
.current_time ⇒ ActiveSupport::TimeWithZone
Returns current DateTime in the configured preferred_time_zone_name.
7 8 9 |
# File 'app/services/qa_server/time_service.rb', line 7 def current_time Time.now.in_time_zone(QaServer.config.preferred_time_zone_name) end |