var name = RooTicket.singleton().usernameLocal();
if (ticket_id == "") {
- _this.name.el.set_text("wip_%s_%s".printf(name,date));
+
+ var dt = new DateTime.now_local();
+ _this.name.el.set_text("wip_%s_%s".printf(name,dt.format("%Y_%b_%d")));
return;
}