You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2020/01/24 14:35:37 UTC
[jclouds] branch 2.2.x updated: JCLOUDS-1538: fix typo in
rfc1123SimpleDateFormat (#60)
This is an automated email from the ASF dual-hosted git repository.
nacx pushed a commit to branch 2.2.x
in repository https://gitbox.apache.org/repos/asf/jclouds.git
The following commit(s) were added to refs/heads/2.2.x by this push:
new 8949bc1 JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60)
8949bc1 is described below
commit 8949bc10d3e5f8f485d142931e7dda3a8a0afc51
Author: Ian Springer <is...@evergage.com>
AuthorDate: Fri Jan 24 09:34:50 2020 -0500
JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60)
---
.../java/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 bc9299a..dc61a20 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);