Module: Ci::PipelineSchedulesHelper

Defined in:
app/helpers/ci/pipeline_schedules_helper.rb

Instance Method Summary collapse

Instance Method Details

#timezone_dataObject


5
6
7
8
9
10
11
12
13
# File 'app/helpers/ci/pipeline_schedules_helper.rb', line 5

def timezone_data
  ActiveSupport::TimeZone.all.map do |timezone|
    {
      name: timezone.name,
      offset: timezone.now.utc_offset,
      identifier: timezone.tzinfo.identifier
    }
  end
end