Merge pull request #39 from wayfarerbasta/patch-1

Fixe for issue #38
pull/55/head
Rop Gonggrijp 7 years ago committed by GitHub
commit a60193fc43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -334,7 +334,7 @@ namespace ezt {
uint8_t m = month;
uint8_t w = ordinal;
if (w == 5) ordinal = 0;
if (w == 0) { // is this a "Last week" rule?
if (w == 5) { // is this a "Last week" rule?
if (++m > 12) { // yes, for "Last", go to the next month
m = 1;
++year;

Loading…
Cancel
Save