Home:ALL Converter>Invalid conversion specifier '2'

Invalid conversion specifier '2'

Ask Time:2012-09-22T16:00:49         Author:Iqbal Khan

Json Formatter

i am trying to build my app in iOS 6 and for iphone 5. I am using gdata-objectivec-client-1.10.0 in my app but when i build my app then it does it is giving this error in the GDataDateTime.m file. Can any one please help me in solving this issue.

 timeString = [NSString stringWithFormat:@"T%02ld:%02ld:%0l2d%@",

ERROR is "invalid conversation from specifier 2"

enter image description here

now it is giving this error after swapping the "l" and "2". any help enter image description here

Author:Iqbal Khan,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/12541973/invalid-conversion-specifier-2
Olaf :

the last one is not %02ld the letter \"l\" and the \"2\" are swapped.\n\nedit: \ninstead of:\n\ntimeString = [NSString stringWithFormat:@\"T%02ld:%02ld:%0l2d%@\",\n\n\nwrite:\n\ntimeString = [NSString stringWithFormat:@\"T%02ld:%02ld:%02ld%@\",\n",
2012-09-22T08:07:27
yy