document hack, to work around birthdays changing one day for each time they are stored

This commit is contained in:
Ralf Becker 2014-07-25 12:32:34 +00:00
parent 6744ba967e
commit c6783d8b8e

View File

@ -238,6 +238,8 @@ var et2_date = et2_inputWidget.extend(
this.date.setMonth(0);
this.date.setFullYear(1970);
}
// this is a hack, to work around birthdays changing one day for each time they are stored
// ToDo: either find and fix the reason, or send date as YYYY-mm-dd string to server
else if (this._type == 'date')
{
this.date.setHours(12);