I'm updating my repo's appveyor.yml file to use the Visual Studio 2017 image instead of the 2015 image. Is the default timezone different between the two? I have a few unit tests that assumes the local timezone is UTC. Was this an intended change?
Is the default timezone different between Visual Studio 2017 and 2015's images?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

#1 Posted by BobbyA on 14 Sep, 2018 07:00 PM
The Visual Studio 2017 image appears to be using the Mountain Time Zone. I started a build 6:50PM UTC and saw the following in the build console:
Write-Host "**** Feature Build Init $(Get-Date)" -foregroundcolor white -backgroundcolor black
**** Feature Build Init 09/14/2018 11:50:59
#2 Posted by BobbyA on 14 Sep, 2018 07:18 PM
Verifying that when I switched back to the Visual Studio 2015 image, times were reported in UTC. Can the Visual Studio 2017 image be updated to default to UTC?
#3 Posted by Feodor Fitsner Support staff on 15 Sep, 2018 12:35 AM
We are going to fix that in the next image update: https://github.com/appveyor/ci/issues/2635
Feodor Fitsner closed this discussion on 15 Sep, 2018 12:40 AM.