mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 21:32:46 +08:00
This commit ensures rails will recognise `IST` as a timezone. It will be mapped to the standard timezone `Asia/Kolkata`. Its technically not a standard, but it's used by many people so we are adding it as a timezone in core. /t/-/150799
3 lines
88 B
Ruby
3 lines
88 B
Ruby
# frozen_string_literal: true
|
|
|
|
ActiveSupport::TimeZone::MAPPING["IST"] = "Asia/Kolkata"
|