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:34:57 UTC

[jclouds] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/jclouds.git


The following commit(s) were added to refs/heads/master by this push:
     new 3db2939  JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60)
3db2939 is described below

commit 3db2939885d222420712612a25c5c7c896953151
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);