samimave / car-pool

Automatically exported from code.google.com/p/car-pool
0 stars 0 forks source link

Date Formatting #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The task is to have the date entered by the user in the dd/mm/yyyy format 
and to convert this format to YYYY-MM-DD when it is sent to the database 
and the Google Calendar.

Estimated time: 3-4 days?

Original issue reported on code.google.com by parul2...@gmail.com on 13 Aug 2008 at 3:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
As part of claiming the input validation it will be easy to include this in 
that, so
I will do this too.

Original comment by arlo.pho...@gmail.com on 13 Aug 2008 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by arlo.pho...@gmail.com on 20 Aug 2008 at 3:01

GoogleCodeExporter commented 9 years ago
Date conversion is successfully implemented on the newRideConfirmation.jsp
Awaiting more results on the google calendar link before date conversion can be
attempted there.

Original comment by arlo.pho...@gmail.com on 21 Aug 2008 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by parul2...@gmail.com on 1 Sep 2008 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by arlo.pho...@gmail.com on 8 Sep 2008 at 10:29

GoogleCodeExporter commented 9 years ago
To format a date from the database to a string day/month/year type just put:

 new SimpleDateFormat("dd/MM/yyyy").format(db.getDate)

Original comment by arlo.pho...@gmail.com on 29 Sep 2008 at 10:34