James Moger
2012-02-17 0c2ea45eb400b1ded16223c03e63cec0c40564b8
src/com/gitblit/models/IssueModel.java
@@ -59,7 +59,8 @@
   public List<Change> changes;
   public IssueModel() {
      created = new Date((System.currentTimeMillis() / 1000) * 1000);
      // the first applied change set the date appropriately
      created = new Date(0);
      type = Type.Defect;
      status = Status.New;
@@ -117,6 +118,10 @@
   }
   public void applyChange(Change change) {
      if (changes.size() == 0) {
         // first change created the issue
         created = change.created;
      }
      changes.add(change);
      if (change.hasFieldChanges()) {