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

mcantelon’s picture

This bug should now be fixed so download tomorrow's development snapshot and let me know if you run into any further problems. Thanks.

mcantelon’s picture

Status: Active » Fixed

Set issue status to fixed.

Holie@drupal.be’s picture

Category: feature » bug
Status: Fixed » Active

There 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?

mcantelon’s picture

Status: Active » Fixed

You'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.

Holie@drupal.be’s picture

Yes, it looks cool now, thanks for fixing it! :D

mcantelon’s picture

Status: Fixed » Closed (fixed)

Perfect! :)