summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/configs/modules/timezone.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/configs/modules/timezone.yaml')
-rw-r--r--tests/cloud_tests/configs/modules/timezone.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cloud_tests/configs/modules/timezone.yaml b/tests/cloud_tests/configs/modules/timezone.yaml
index 6a05aba1..8c96ed47 100644
--- a/tests/cloud_tests/configs/modules/timezone.yaml
+++ b/tests/cloud_tests/configs/modules/timezone.yaml
@@ -7,6 +7,8 @@ cloud_config: |
collect_scripts:
timezone: |
#!/bin/bash
- date +%Z
+ # date will convert this to system's configured time zone.
+ # use a static date to avoid dealing with daylight savings.
+ date "+%Z" --date="Thu, 03 Nov 2016 00:47:00 -0400"
# vi: ts=4 expandtab