iphone - Problems with dataStyle while creating pass for passbook -
i'm creating pass generator using php-pkpass. working fine until try add datestyle. when put
'auxiliaryfields' => array( array( 'key' => 'expires', 'label' => 'expiration date', 'datestyle'=> 'pkdatestylefull', 'timestyle'=> 'pkdatestylenone', 'value' => $expires.'t12:00+6.00' ) )
the pass created, working on android, iphone while trying download shows 'can't download safari'... here generated pass - pass (not working on iphone)
but if remove 'datestyle' , 'timestyle' part -
'auxiliaryfields' => array( array( 'key' => 'expires', 'label' => 'expiration date', 'value' => $expires.'t12:00+6.00' ) )
the pass created , working on both android , iphonne... here generated pass - pass (working)
what causing problem?
further info in comments, date still not in valid iso 8601 format.
jun 22 00:30:05 pfr mobilesafari[4233] <warning>: invalid data error reading pass pass.com.retailness.testing.passbook/51136. unable parse expires 06-29-2015t12:00+06:00 date. expect dates in "w3c date time stamp format", either "complete date plus hours , minutes" or "complete date plus hours, minutes , seconds". example, 1980-05-07t10:30-05:00. jun 22 00:30:05 pfr mobilesafari[4233] <warning>: passbook pass download failed: pass cannot read because isn’t valid. change date display in year-month-day format, e.g. 2015-06-29t12:00+06:00 , should find works.
Comments
Post a Comment