2017-05-07 18:35:56 -04:00
|
|
|
module PipelineSchedulesHelper
|
|
|
|
def timezone_data
|
2017-08-15 13:44:37 -04:00
|
|
|
ActiveSupport::TimeZone.all.map do |timezone|
|
|
|
|
{
|
|
|
|
name: timezone.name,
|
2018-07-10 11:22:13 -04:00
|
|
|
offset: timezone.now.utc_offset,
|
2017-08-15 13:44:37 -04:00
|
|
|
identifier: timezone.tzinfo.identifier
|
2017-05-07 18:35:56 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|