SassaAbdellah / roadmate

Automatically exported from code.google.com/p/roadmate
0 stars 0 forks source link

valid time format not specified on Create Ride Offer #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. RoadMate - Create Ride Offer
2. Trying to enter time "25/09/2008 2pm" or "25/09/2008" or "2pm"
3.

What is the expected output? What do you see instead?
Expected: a new ride instance to be created
Instead: "enter a valid time message" appears, new ride is not created.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by lluu...@hotmail.com on 7 Aug 2008 at 9:45

GoogleCodeExporter commented 9 years ago
has to be in 24h format i.e. 12:00 or 00:00 or 23:59:59.. more importantly, 
can't
choose the date of the ride at all (can only create rides for today!) I have 
changed
the model (and will commit tonight) to allow the date to show but it wants 
dates in
local (US) format mm/dd/yy

I'm looking at controls we can use to pick the date/time elements in an easier 
way,
but I don't mind if they stay as they are for the purposes of this prototype.

Original comment by dale.hal...@gmail.com on 10 Aug 2008 at 11:02

GoogleCodeExporter commented 9 years ago
This is a known limitation of Django Forms Framework.

I'd like to deal with this in a similar manner to Google Calendar, but at the 
same
time it's important that our site doesn't become dependent on JavaScript. To 
keep to
this constrain and at the same time make sure the UI remains intuitive, I think 
we
should create two versions.

Plane HTML Version:
  + Present the date and time as a group of dropdown boxes for each field.
      Fields: Day, Month, Year, Time (increments of 30min).

JavaScript Version:
  + Present the date and time as textboxes with default values in them when the form
loads.
  + When the user clicks on them, they behave in a manner similar to those on Google
Calendar. That is, on the first click the user is presented with a dropdown box 
for
the time (increments of 30min) and a calendar for the date. If clicked again, 
the
user can edit the values directly, (they're always validated client and server 
side).

Original comment by C.Crasborn@gmail.com on 11 Aug 2008 at 12:09

GoogleCodeExporter commented 9 years ago
Now that we have the plane HTML version working. I've downgraded this to a 
medium
priority enhancement.

Original comment by C.Crasborn@gmail.com on 13 Aug 2008 at 12:50

GoogleCodeExporter commented 9 years ago
plane HTML version working

Original comment by lluu...@hotmail.com on 13 Aug 2008 at 12:56

GoogleCodeExporter commented 9 years ago
added component and milestone into labels

Original comment by lluu...@hotmail.com on 13 Oct 2008 at 5:59

GoogleCodeExporter commented 9 years ago
I'm closing this issue as we're now using select controls to enter dates. 

Original comment by C.Crasborn@gmail.com on 13 Oct 2008 at 1:40