Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_schedules_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fee1edc2a1bbaa984f094f4ae29475420e857118 (plain)
1
2
3
4
5
6
7
8
9
10
11
module PipelineSchedulesHelper
  def timezone_data
    ActiveSupport::TimeZone.all.map do |timezone| 
      { 
        name: timezone.name, 
        offset: timezone.utc_offset, 
        identifier: timezone.tzinfo.identifier 
      }
    end
  end
end