Commit 0083c592 authored by Peter Droogmans's avatar Peter Droogmans
Browse files

date.setMonth needs a day

parent 7506ba02
......@@ -1220,7 +1220,7 @@
}
if (param.monthpos !== false) {
expectedpartscount++;
date.setMonth(month);
date.setMonth(month, 1);
if (month !== date.getMonth()) {
result = false;
}
......
Supports Markdown
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