Boarding pass relevant date and timezone issue

Hi everyone,

I’m encountering a challenge while working with Apple's PKPass for boarding passes and would appreciate any guidance.

We are generating boarding passes for users and want them to automatically display on the lock screen as the boarding time approaches. To do this, we are utilizing the relevantDate property.

The issue arises because, when setting the relevantDate, the date and time are specified in Zulu time (UTC). However, iOS converts this to the device's local time zone (BST in my case), resulting in a one-hour shift.

For instance, in pass.json, I set "relevantDate": "2024-10-03T14:35:00+00:00" (or "relevantDate": "2024-10-03T14:35Z"). While iOS does display the pass on the lock screen as expected, the notification shows the time as "Today at 15:25" instead of the correct "14:25."

Expected behaviour: the notication text should display the exact time set in the relevantDate( i.e. Today at 14:25).

Any insights on how to resolve this would be greatly appreciated!

Thank you!

In other word, what i'd like is for the relevantDate to be interpreted as already in local time, with no conversion whatsoever.

"relevantDate": "2024-10-03T14:35:00+00:00"

Hi @imraz3,

To begin, I'd like for you to submit a report via Feedback Assistant. Please follow the steps outlined below for the required information for us to begin our investigation:

Gathering Required Information for Troubleshooting Wallet Issues

https://developer.apple.com/forums/thread/766778

Once completed, please reply here with the Feedback ID.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Boarding pass relevant date and timezone issue
 
 
Q