How to check and validate timezone data within Linux, with reference to daylight-saving.If a Crossbeam system is configured, via the standard cli, to a specific timezone (say Europe/Moscow) the customer may wish to understand the implications of this, particularly in terms of when changes will be made to allow for daylight savings.
The required data can be displayed using the Linux zdump command.
For example, if I was interested in knowing about daylight savings settings for the Moscow zone in the year 2011 I would use a command similar to this:
zdump -c 2013 -v Europe/Moscow | tail -n 20
Note the following:
- The year given (here 2013) should be a little after the year of interest (2011)
- The timezone name, of course, needs to match the required zone.
- The piped 'tail' command is optional but will suppress a lot of redundant data prior to the elements of interest. Potentiall the '-n 20' could require tweaking.
This command might produce output similar to this: