ferna
نہ پڑھا ہوا،1 دسمبر، 2010، 10:25:52 AM1/12/10Sign in to reply to author
Sign in to forward
آپ کو اس گروپ میں پیغامات حذف کرنے کی اجازت نہیں ہے
پیغام کی اطلاع بیجا استعمال کے بطور دیں
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
بنام calendar_date_select
I use a coarse granularity (15 minute intervals) for selecting
minutes, using :minute_interval=>15
When the date selector comes up, it shows the current time of day,
with the minute selector positioned at the 15 minute interval just
before the current time, i.e. if now it is 10:56, it comes up as
10:45, which is fine.
The problem is that if you do not make an explicit change to the
minute selector, but only modify say the date and the hour,
calendar_date_select returns the minutes as 56, not 45, which is quite
annoying, since the user expects it to return what he/she sees in the
form. Any ideas how this can be fixed?