displaying ident2 (parant / guardian) when editing existing non-adult.
[Evergreen.git] / Evergreen / xul / staff_client / server / patron / ue_config.js
index 9c7b54b..37eb11b 100644 (file)
@@ -1027,8 +1027,7 @@ function uEditCheckDOB(field) {
        __lastdob = dob;
 
        var parts = dob.split(/-/);
-       var d = new Date( parts[0], parts[1] - 1, parts[2] );
-
+       parts[2] = parts[2].replace(/[T ].*/,'');
        dob = buildDate( parts[0], parts[1], parts[2] );
 
        var today = new Date();