Commit 77e6fff9 authored by konovalovsergey's avatar konovalovsergey

getShortDateFormat2 error

parent 4da46081
...@@ -3740,7 +3740,7 @@ function setCurrentCultureInfo(val) { ...@@ -3740,7 +3740,7 @@ function setCurrentCultureInfo(val) {
case '4': case '4':
case '5': case '5':
if (year > 0) { if (year > 0) {
dateElems.push('y'.repeat(month)); dateElems.push('y'.repeat(year));
} }
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment