DescriptionUse -s to pass string date to 'adb shell date' command to set date in provision.
The 'date -u' was not working on N5 devices. The -s option seems to work across
devices. I've tested on N4 and N5. This change implements an earlier change that
was reverted. See the change here: https://codereview.chromium.org/668013003/
The difference in this change is that it sets the time zone to UTC.
BUG=406848
Committed: https://crrev.com/3fad747a3352fb78e4beaf51cbf839e72168a4cb
Cr-Commit-Position: refs/heads/master@{#300803}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use time.gmtime() instead of setting env var 'TZ'. #Messages
Total messages: 12 (2 generated)
|