diff options
author | Sebastian Reichel <sre@ring0.de> | 2013-02-04 22:42:07 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2013-02-04 22:42:07 +0100 |
commit | bb966b14b5ccfc0f2a1508d4065a1294f7e46020 (patch) | |
tree | d5b40fc22e181523b0ba57ea8251fa1c804fa592 /src/web.vala | |
parent | f89a9e9ef3113e21743e8896a06a0e21e7516616 (diff) | |
download | serial-barcode-scanner-bb966b14b5ccfc0f2a1508d4065a1294f7e46020.tar.bz2 |
invoice month is now calendar month
Diffstat (limited to 'src/web.vala')
-rw-r--r-- | src/web.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web.vala b/src/web.vala index 14c9604..ea2e594 100644 --- a/src/web.vala +++ b/src/web.vala @@ -329,10 +329,10 @@ public class WebServer { start = new DateTime.local(selectedyear, selectedmonth, selectedday, 8, 0, 0); stop = start.add_days(1); } else if(selectedmonth != 0) { - start = new DateTime.local(selectedyear, selectedmonth, 16, 8, 0, 0); + start = new DateTime.local(selectedyear, selectedmonth, 1, 0, 0, 0); stop = start.add_months(1); } else { - start = new DateTime.local(selectedyear, 1, 16, 8, 0, 0); + start = new DateTime.local(selectedyear, 1, 1, 0, 0, 0); stop = start.add_years(1); } |