Rails makes it too simple to allow users to specify their timezone. All you have to do is add the following to your form:
1 2 3 |
|
1 2 3 |
|
Now you can see a very nice select element with all the timezones the world has to offer. In the above example, the US timezones will show before the rest of the world. But what do you do to validate the timezones? You just have to drop the below in to your model.
1 2 3 |
|
Simple!!