BigW Consortium Gitlab

pipeline_schedules_helper.rb 248 Bytes
Newer Older
1 2
module PipelineSchedulesHelper
  def timezone_data
3 4 5 6 7
    ActiveSupport::TimeZone.all.map do |timezone|
      {
        name: timezone.name,
        offset: timezone.utc_offset,
        identifier: timezone.tzinfo.identifier
8 9 10 11
      }
    end
  end
end