Turn lift date and time strings into struct Time
[beifahrer] / src / lift-detail-window.vala
index de6b8c8..c354383 100644 (file)
@@ -134,7 +134,7 @@ public class LiftDetailWindow : StackableWindow {
                        button_route.value = "";
                }
 
-               button_calendar.value = "%s, %s".printf (lift.date, lift.time);
+               button_calendar.value = "%02d.%02d.%04d, %d:%02d".printf (lift.time.day, lift.time.month, lift.time.year, lift.time.hour, lift.time.minute);
 
                label_driver.set_text (_("Driver: ") + lift.name);
                if (lift.cell != null) {