Skip to content

Instantly share code, notes, and snippets.

Created April 21, 2010 19:09
Show Gist options
  • Save anonymous/374267 to your computer and use it in GitHub Desktop.
Save anonymous/374267 to your computer and use it in GitHub Desktop.
@tmz
Feature: TimeZones
In order to verify that time zones work right we need to check dates on items across times zones
Scenario Outline: main table for now
Given an event starts at <TimeA> in <CreateTMZ>
When a user in <ViewTMZ> views the event
Then it will show as starting at <TimeB>
And <Note>
Examples:
| CreateTMZ | TimeA | ViewTMZ | TimeB | Note|
| PacificTime | May 10, 2010 11:00 PM| CentralTime | May 11, 2010 1:00 AM | Rollover Scenario|
| PacificTime | May 1, 2010 8:00 AM| PacificTime | December 1, 2010 8:00 AM | DST Scenario|
| PacificTime | April 1, 2010 8:00 AM| phoenixarizona | April 1, 2010 8:00 AM | Phoenix doesn't have DST |
| PacificTime | Dec 1, 2010 8:00 AM| phoenixarizona | Dec 1, 2010 9:00 AM | Pheonix doesn't have DST part 2 |
| PacificTime | April 1, 2010 8:00 AM| paris | April 1, 2010 5:00 PM | pst to paris|
| PacificTime | April 1, 2010 8:00 AM| perth | April 1, 2010 11:00 PM | pst to perth|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment