From df92bc4ff33ead23dd69c0dbe5230eff3454510a Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 19 May 2013 18:51:36 +0200 Subject: web: use local time in invoice --- src/web/web.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/web.vala') diff --git a/src/web/web.vala b/src/web/web.vala index 26719ff..4597f8b 100644 --- a/src/web/web.vala +++ b/src/web/web.vala @@ -423,7 +423,7 @@ public class WebServer { string table = ""; Price sum = 0; foreach(var e in db.get_invoice(id, start.to_unix(), stop.to_unix())) { - var timestamp = new DateTime.from_unix_utc(e.timestamp); + var timestamp = new DateTime.from_unix_local(e.timestamp); var date = timestamp.format("%d.%m.%Y"); var time = timestamp.format("%H:%M:%S"); var product = e.product.name; -- cgit v1.2.3