Skip to content
Permalink
Browse files
Make sure the GMT timezone is used if the format is going to mandate …
…that.

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1564454 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Feb 4, 2014
1 parent 1d884dc commit a72350b36bdbec49cc7d2426ee41b7fe3fd5034d
Showing 1 changed file with 3 additions and 0 deletions.
@@ -25,6 +25,7 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;

import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.core.EntityTag;
@@ -53,6 +54,8 @@ public class EvaluatePreconditionsTest {
public void setUp() {
service = new SimpleService();
service.setEntityTag(ETAG_OLD);
DATE_FMT_822.setTimeZone(TimeZone.getTimeZone("GMT"));

service.setLastModified(DATE_OLD);
}

0 comments on commit a72350b

Please sign in to comment.