projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kivi.Validator: Spezialbehandlung von 0 für heute wieder hergestellt
[kivitendo-erp.git]
/
js
/
kivi.js
diff --git
a/js/kivi.js
b/js/kivi.js
index
7e8bc90
..
daedfaa
100644
(file)
--- a/
js/kivi.js
+++ b/
js/kivi.js
@@
-37,6
+37,9
@@
namespace("kivi", function(ns) {
if (date === '')
return null;
+ if (date === '0')
+ return new Date();
+
var parts = date.replace(/\s+/g, "").split(ns._date_format.sep);
var today = new Date();