Closed (fixed)
Project:
Multiforms
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2007 at 20:57 UTC
Updated:
6 Jun 2007 at 17:28 UTC
When i use the closing date option on the setup tab, only the value for month is saved when i save the multiform.
The values for the day and year are resetted to 1 and 1900. This bug causes the closing date to be finished and the form not to be shown.
Comments
Comment #1
mcantelon commentedThis bug should now be fixed so download tomorrow's development snapshot and let me know if you run into any further problems. Thanks.
Comment #2
mcantelon commentedSet issue status to fixed.
Comment #3
Holie@drupal.be commentedThere still seems to be a problem with this?
For a certain form, i set the closing date to 22nd june 2007 and time 00:00:00.
In the database the value of "multiform_closing_date" is set to "22-6-2007", so that seems correct.
However when i view the form in my browser it states the date is passed and i cannot use the form.
When I try to edit the closing date in the "setup" tab, the year 2007 is selected, that is correct, but for the day, "6" is selected and for the month "Jan".
Maybe moths and days are getting mixed up somewhere?
Comment #4
mcantelon commentedYou're totally right... the month/day/year were in the wrong order in the checking logic. Thanks again! The fix should be available for download tomorrow.
Comment #5
Holie@drupal.be commentedYes, it looks cool now, thanks for fixing it! :D
Comment #6
mcantelon commentedPerfect! :)