Skip to content

Commit

Permalink
Fixed Internet Date to conform to RFC 1123
Browse files Browse the repository at this point in the history
  • Loading branch information
dpp committed Aug 30, 2011
1 parent b057016 commit 4bb0c02
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -391,7 +391,7 @@ trait TimeHelpers { self: ControlHelpers =>
/** @return a formatter for internet dates (RFC822/1123) including:
* the day of week, the month, day of month, time and time zone */
def internetDateFormatter = {
val ret = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss z", Locale.US)
val ret = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss 'GMT'", Locale.US)
ret.setTimeZone(utc)
ret
}
Expand Down

0 comments on commit 4bb0c02

Please sign in to comment.