James Moger
2011-04-14 155bf78e3377910d29b2c912f58c0f496cb428e8
src/com/gitblit/wicket/WicketUtils.java
@@ -12,6 +12,7 @@
import org.apache.wicket.markup.html.basic.Label;
import org.eclipse.jgit.lib.Constants;
import com.gitblit.Keys;
import com.gitblit.StoredSettings;
import com.gitblit.utils.Utils;
@@ -121,7 +122,7 @@
   }
   public static Label createDateLabel(String wicketId, Date date, TimeZone timeZone) {
      DateFormat df = new SimpleDateFormat(StoredSettings.getString("datestampShortFormat", "MM/dd/yy"));
      DateFormat df = new SimpleDateFormat(StoredSettings.getString(Keys.web_datestampShortFormat, "MM/dd/yy"));
      if (timeZone != null) {
         df.setTimeZone(timeZone);
      }
@@ -139,7 +140,7 @@
   }
   
   public static Label createTimestampLabel(String wicketId, Date date, TimeZone timeZone) {
      DateFormat df = new SimpleDateFormat(StoredSettings.getString("datetimestampLongFormat", "EEEE, MMMM d, yyyy h:mm a z"));
      DateFormat df = new SimpleDateFormat(StoredSettings.getString(Keys.web_datetimestampLongFormat, "EEEE, MMMM d, yyyy h:mm a z"));
      if (timeZone != null) {
         df.setTimeZone(timeZone);
      }