Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" 
for change notification.

The following page has been changed by NathanBubna:
http://wiki.apache.org/jakarta-velocity/ExtendedDateTool

The comment on the change is:
fix bad message key and add updated messages.properties

------------------------------------------------------------------------------
  
          // check for the corner case of "1 day ago" or "1 day from now"
          // and convert those to "yesterday" or "tomorrow"
-         if (friendly != null && friendly.startsWith("1 
"+getText("date.days")))
+         if (friendly != null && friendly.startsWith("1 
"+getText("date.days.singular")))
          {
              if (friendly.endsWith(getText("date.direction.past")))
              {
@@ -932, +932 @@

  }
  }}}
  
+ 
+  * And the following updated messages.properties
+ 
+ {{{
+ date.direction.future=from now
+ date.direction.past=ago
+ date.now=now
+ date.milliseconds.singular=millisecond
+ date.milliseconds.plural=milliseconds
+ date.seconds.singular=second
+ date.seconds.plural=seconds
+ date.minutes.singular=minute
+ date.minutes.plural=minutes
+ date.hours.singular=hour
+ date.hours.plural=hours
+ date.days.singular=day
+ date.days.singular.past=tomorrow
+ date.days.singular.future=yesterday
+ date.days.plural=days
+ date.weeks.singular=week
+ date.weeks.plural=weeks
+ date.months.singular=month
+ date.months.plural=months
+ date.years.singular=year
+ date.years.plural=years
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to