NewBranch.bjs
[gitlive] / NewBranch.vala
index 230fc6f..6866b45 100644 (file)
@@ -204,7 +204,9 @@ public class NewBranch : Object
                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;
                }