Setting SettingsCommand.Command.Settings.TimeZone is not changing the TimeZone on the device

When sending the setting to change the time zone, the plist is Acknowledged, but the device is not changing.
I tried setting the following values:
  • America/Moncton

  • America/New_York

  • Europe/Dublin

  • Europe/London

In all cases the plist was acknowledged. These are values are part of the IANA timezone database.

There are two issues:
  • When "Set Automatically" is enabled on the Date & Time settings screen, the TimeZone is not displayed and there is just a spinning icon.

  • When "Set Automatically" is disabled on the Date & Time settings screen, the Timezone displays but as the original timezone of the device, not of the time zone sent to the device through the SettingsCommand.

The device has the following:
  • Software Version: 14.0 (18A5301v)

  • Model Name: iPhone Xs

  • Model Number: A1920

What is the desired outcome from setting the timezone? I had expected to see the timezone change on the device and the current time to match the time zone that was set. Is this not yet functional?

Also, if I send a bogus timezone, it is still acknowledged. I would have expected it to get rejected. Will it reject invalid timezones?
Hi there, I was unable to reproduce the bug as described. I did note that if you send the command while you are on the on the Date & Time pane the Set Automatically switch stays on until you navigate away and back. I would recommend filing a bug report through Feedback Assistant, please include a video of the issue as well the full MDM command and response along with a sysdiagnose with the Managed Configuration debug profile installed.

In the positive case the response looks like:
Code Block
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0001_Settings</string>
<key>Settings</key>
<array>
<dict>
<key>Item</key>
<string>TimeZone</string>
<key>Status</key>
<string>Acknowledged</string>
</dict>
</array>
<key>Status</key>
<string>Acknowledged</string>
<key>UDID</key>
<string>00008020-0002649A2600013A</string>
</dict>
</plist>


In terms of the acknowledgement when you send a bogus time, please check the full contents of the response. The response I get back, while it is acknowledged, shows an error chain:
Code Block
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CommandUUID</key>
<string>0002_Settings</string>
<key>Settings</key>
<array>
<dict>
<key>ErrorChain</key>
<array>
<dict>
<key>ErrorCode</key>
<integer>28004</integer>
<key>ErrorDomain</key>
<string>MCSettingsErrorDomain</string>
<key>LocalizedDescription</key>
<string>The time zone is not a valid IANA time zone database name.</string>
<key>USEnglishDescription</key>
<string>The time zone is not a valid IANA time zone database name.</string>
</dict>
</array>
<key>Item</key>
<string>TimeZone</string>
<key>Status</key>
<string>Error</string>
</dict>
</array>
<key>Status</key>
<string>Acknowledged</string>
<key>UDID</key>
<string>00008020-0002649A2600013A</string>
</dict>
</plist>


The other thing that would interesting to check is sending the Device Information query to check the time zone the device is reporting after you send the MDM command. This would help isolate the issue to being a UI issue with Settings or something about the command itself.
Setting SettingsCommand.Command.Settings.TimeZone is not changing the TimeZone on the device
 
 
Q