Skip to content

Validate timezones #260

@garrett

Description

@garrett

Talk datetimes (start and stop) are now parsed in the validate.rb script. However, incorrect timezones passed to Ruby's DateTime.parse are ignored.

This should be checked so that:

  1. The timezone actually does exist
  2. The daylight savings time matches the date

Obviously, we'd want to rely on existing Ruby library to check this. Hopefully standard Ruby can handle it. Otherwise, we might need to pull in an additional gem like chronic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions