summaryrefslogtreecommitdiffstats
path: root/frontends/php/js/calendar.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/js/calendar.js')
-rw-r--r--frontends/php/js/calendar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/js/calendar.js b/frontends/php/js/calendar.js
index d47e4d1d..bc5a4d9e 100644
--- a/frontends/php/js/calendar.js
+++ b/frontends/php/js/calendar.js
@@ -254,12 +254,12 @@ setSDateDMY: function(d,m,y){
result = true;
}
- if((y > 71) && (y < 1971)){
+ if((y > 71) && (y < 1970)){
this.sdt.setYear(y);
result = true;
}
- if((y > 1971) && (y < 10000)){
+ if((y > 1970) && (y < 10000)){
this.sdt.setFullYear(y);
result = true;
}