You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
All characters not part of the format were replaced by "undefined"
This commit is contained in:
@@ -163,7 +163,7 @@ function formatDate(date, format) {
|
||||
while ((format.charAt(i_format) == c) && (i_format < format.length)) {
|
||||
token += format.charAt(i_format++);
|
||||
}
|
||||
if (value[token] !== null) {
|
||||
if (value[token] !== null && value[token] !== undefined) {
|
||||
result = result + value[token];
|
||||
} else {
|
||||
result = result + token;
|
||||
|
||||
Reference in New Issue
Block a user