Date picker not fully functional?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
John
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 30
Joined: Sun Jul 02, 2006 9:41 pm

Date picker not fully functional?

Post by John » Mon Oct 10, 2011 12:24 am

Hi,

When using iphonePickDate I can't seem to get it to return any value before 12/31/1969. In my app this is a problem. Is anyone else using this control and does it work with all dates? I also can't seem to get the picker displayed to honor my initial date setting but at this point it is a minor issue given the app is not functional with the date picker unable to return old dates. Any suggestions?

Thanks,
John

John
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 30
Joined: Sun Jul 02, 2006 9:41 pm

Re: Date picker not fully functional?

Post by John » Mon Oct 10, 2011 1:05 am

Answering my own question, according to the docs, the date picker only returns values to the beginning of the "Unix Epoch" which, as it turns out, is January 1, 1970 (perhaps the release notes should spell this out). Seems a bit odd as the iOS picker wheel on the device is happy to go well before that. I still don't know if it is possible to set an initial value but it doesn't matter as the picker as implememted has limitiations and the app will need to be reworked without the picker.

Thanks,
John

SparkOut
Posts: 2943
Joined: Sun Sep 23, 2007 4:58 pm

Re: Date picker not fully functional?

Post by SparkOut » Tue Oct 11, 2011 4:01 pm

You could add votes to http://quality.runrev.com/show_bug.cgi?id=4941 enhancement request.

I guess maybe now it is demonstrably an issue on iOS people may be more interested than just Windows users :wink:

Post Reply