The Passbook/Wallet viewer doesn’t respect the “ignoresTimeZone” flag

Originator:nicolas.bouilleaud
Number:rdar://23591201 Date Originated:2015-11-18
Status:Open Resolved:
Product:OS X Product Version:10.11.1
Classification:Serious bug Reproducible:Always
 
Summary:
The .pkpass format allows to specify that a timestamp should be “in the given time zone, not in the user’s current time zone”. On OS X, this flag isn’t taken into account by the Wallet preview tool.

Steps to Reproduce:
See attached pkpass and screenshots. The "departure_time" and "arrival_time" are set to ignore the user’s time zone, as such:

            {
                "dateStyle": "PKDateStyleNone",
                "ignoresTimeZone": true,
                "key": "departure_time",
                "label": "Depart",
                "textAlignment": "PKTextAlignmentLeft",
                "timeStyle": "PKDateStyleShort",
                "value": "2015-11-17T18:41:00+01:00"
            },


Expected Results:
The times should be displayed using the specified timezone, not the user’s time zone. In the case of departure_time, that is "18:41".

Actual Results:
See attached screenshots, on OS X and iOS, in the Paris and San Francisco timezones. On iOS, the departure and arrival times are always correctly displayed, ignoring the timezone of the device; on OS X, the departure and arrival times are displayed in the timezone of the device.

Version:
OS X 10.11.1

Notes:


Configuration:
MacBook Pro (Retina, 13-inch, Late 2012)

Attachments:
'SSDBQG-ALLER-HAN-SOLO.pkpass', 'ios-california.png', 'ios-france.png', 'osx-california.png' and 'osx-france.png' were successfully uploaded.

Comments

Attachments

http://cl.ly/2n2R3D2Z180T#

By nicolas.bouilleaud at Nov. 18, 2015, 10:16 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!