ANCS / Phone app does not set date/time field correctly for incoming phone call

Originator:martijn
Number:rdar://19639333 Date Originated:
Status:Open Resolved:
Product:iOS Product Version:8.1.2
Classification: Reproducible:Yes
 
Summary:
When receiving a phone call, the NotificationAttributeIDDate field in the the notification that is received via ANCS contains a zero-length string. 

The documentation promises:

"The format of the NotificationAttributeIDDate constant is a string that uses the Unicode Technical Standard (UTS) #35 date format pattern yyyyMMdd'T'HHmmSS. "

https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Appendix/Appendix.html#//apple_ref/doc/uid/TP40013460-CH3-SW6

Steps to Reproduce:
1. Connect an ANCS client to the iOS device
2. Receive a phone call
3. Request the NotificationAttributeIDDate attribute for the notification of the incoming call
4. Observe that a zero length string is sent

Expected Results:
The documentation promises that the field will contain a date string according to the format:

"The format of the NotificationAttributeIDDate constant is a string that uses the Unicode Technical Standard (UTS) #35 date format pattern yyyyMMdd'T'HHmmSS. "

https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Appendix/Appendix.html#//apple_ref/doc/uid/TP40013460-CH3-SW6

Actual Results:
A zero length string is sent instead.

Version:
iOS 8.1.2 (12B440)

Notes:


Configuration:
iPhone 5

Attachments:

Comments


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!