2017-08-17 22:00:37 +05:30
|
|
|
module PipelineSchedulesHelper
|
|
|
|
def timezone_data
|
2018-03-17 18:26:18 +05:30
|
|
|
ActiveSupport::TimeZone.all.map do |timezone|
|
|
|
|
{
|
|
|
|
name: timezone.name,
|
2018-11-18 11:00:15 +05:30
|
|
|
offset: timezone.now.utc_offset,
|
2018-03-17 18:26:18 +05:30
|
|
|
identifier: timezone.tzinfo.identifier
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|