Skip to content

Commit

Permalink
remove TZInfo notes from README.md, gh-119
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Mar 25, 2015
1 parent 623e76d commit accce0a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1371,19 +1371,6 @@ Rufus::Scheduler.parse("2013-12-12 14:00 Pacific/Saipan")
# => 2013-12-12 04:00:00 UTC
```

Behind the scenes, rufus-scheduler uses [tzinfo](http://tzinfo.github.io/) to deal with timezones.

Here is a [list of timezones](misc/tz_all.txt) known to my Debian GNU/Linux 7. It was generated with this script:

```ruby
require 'tzinfo'
TZInfo::Timezone.all.each { |tz| puts tz.name }
```

Unknown timezones, typos, will be rejected by tzinfo thus rufus-scheduler.

On its own tzinfo derives the timezones from the system's information. On some system it needs some help, one can install the 'tzinfo-data' gem to provide the missing information.


## so Rails?

Expand Down

0 comments on commit accce0a

Please sign in to comment.