In a Rails 3.x app I need to display time zone abbreviations (EST, PST, CST, etc.) rather than the full time zone name. I’ve seen a number of discussions that seem to address the issue, but in overly verbose manners.
Is there a gem or a very concise method to handle this that could be used to map them properly?
For the current time zone:
Or for a list of time zones:
It works, but it still seems like there should be a better way…