date problem
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2004-04-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/tbl_change.js: was always returning current day
|
||||
|
||||
2004-04-20 Michal Cihar <michal@cihar.com>
|
||||
* libraries/tbl_change.js, css/phpmyadmin.css.php: Added time editing to
|
||||
calendar.
|
||||
|
@@ -254,9 +254,11 @@ function initCalendar() {
|
||||
dispmonth = 1 + month;
|
||||
|
||||
if (window.opener.dateType == 'datetime' || window.opener.dateType == 'date') {
|
||||
actVal = formatNum4(year) + "-" + formatNum2(dispmonth) + "-" + formatNum2(day);
|
||||
// actVal = formatNum4(year) + "-" + formatNum2(dispmonth) + "-" + formatNum2(day);
|
||||
actVal = formatNum4(year) + "-" + formatNum2(dispmonth) + "-" + formatNum2(i);
|
||||
} else {
|
||||
actVal = "" + formatNum4(year) + formatNum2(dispmonth) + formatNum2(day);
|
||||
// actVal = "" + formatNum4(year) + formatNum2(dispmonth) + formatNum2(day);
|
||||
actVal = "" + formatNum4(year) + formatNum2(dispmonth) + formatNum2(i);
|
||||
}
|
||||
if (i == day) {
|
||||
style = ' class="selected"';
|
||||
|
Reference in New Issue
Block a user