Trying to use AnotherDatePicker example I get an error during program startup. No changes made, just loaded the example end compiled and run. The error is in line 175 of file Date Utils (I’m using B4i version 1.50):
Application_Start
Error: Invalid value: d.C.20150116 000000
Error occurred on line: 175 (dateutils)
Cannot parse: invalid date
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
B4i Example -[B4I ObjectToNumber:] + 556
B4i Example -[b4i_dateutils _setdateandtime::::::] + 3158
B4i Example -[b4i_dateutils _setdate:::] + 240
B4i Example -[b4i_anotherdatepicker _selectday:::] + 598
B4i Example -[b4i_anotherdatepicker _setdate:::] + 676
B4i Example -[b4i_anotherdatepicker _addtoparent:::] + 9006
B4i Example -[b4i_main _application_start:] + 1278
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 300
B4i Example +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1928
B4i Example -[B4IShell runMethod:] + 496
B4i Example -[B4IShell raiseEventImpl:method:args::] + 2060
B4i Example -[B4IShellBI raiseEvent:event
arams:] + 1316
B4i Example __33-[B4I raiseUIEvent:event
arams:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib <redacted> + 712
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1512
CoreFoundation CFRunLoopRunSpecific + 476
CoreFoundation CFRunLoopRunInMode + 106
GraphicsServices GSEventRunModal + 136
UIKit UIApplicationMain + 1440
B4i Example main + 116
libdyld.dylib <redacted> + 2
)
Application_Active
Any idea what is wrong?