Module: Teems::Commands::CalDateRange
- Included in:
- Cal
- Defined in:
- lib/teems/commands/cal.rb
Overview
Date range computation for calendar queries
Constant Summary collapse
- TIMEZONE_MAP =
Map common timezone abbreviations to IANA names
{ 'EST' => 'America/New_York', 'EDT' => 'America/New_York', 'CST' => 'America/Chicago', 'CDT' => 'America/Chicago', 'MST' => 'America/Denver', 'MDT' => 'America/Denver', 'PST' => 'America/Los_Angeles', 'PDT' => 'America/Los_Angeles', 'AKST' => 'America/Anchorage', 'AKDT' => 'America/Anchorage', 'HST' => 'Pacific/Honolulu', 'UTC' => 'UTC', 'GMT' => 'UTC' }.freeze