Browse files

Fixed Internet Date to conform to RFC 1123

  • Loading branch information...
1 parent b057016 commit 4bb0c028cbf854150dc7a2723bbde609390516ff @dpp dpp committed Aug 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/util/src/main/scala/net/liftweb/util/TimeHelpers.scala
View
2 core/util/src/main/scala/net/liftweb/util/TimeHelpers.scala
@@ -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
}

0 comments on commit 4bb0c02

Please sign in to comment.