From 3db2939885d222420712612a25c5c7c896953151 Mon Sep 17 00:00:00 2001 From: Ian Springer Date: Fri, 24 Jan 2020 09:34:50 -0500 Subject: [PATCH] JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60) --- .../org/jclouds/date/internal/SimpleDateFormatDateService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/date/internal/SimpleDateFormatDateService.java b/core/src/main/java/org/jclouds/date/internal/SimpleDateFormatDateService.java index bc9299af56..dc61a204b3 100644 --- a/core/src/main/java/org/jclouds/date/internal/SimpleDateFormatDateService.java +++ b/core/src/main/java/org/jclouds/date/internal/SimpleDateFormatDateService.java @@ -49,7 +49,7 @@ public class SimpleDateFormatDateService implements DateService { // See http://stackoverflow.com/questions/10584647/simpledateformat-parse-is-one-hour-out-using-rfc-1123-gmt-in-summer // for why not using "zzz" // @GuardedBy("this") - private static final SimpleDateFormat rfc1123SimpleDateFormat = new SimpleDateFormat("EEE, dd MMM yyyyy HH:mm:ss Z", Locale.US); + private static final SimpleDateFormat rfc1123SimpleDateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US); // @GuardedBy("this") private static final SimpleDateFormat cSimpleDateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.US);