You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "David Parks (JIRA)" <de...@velocity.apache.org> on 2011/02/22 07:01:38 UTC
[jira] Created: (VELTOOLS-135) Support Joda Time in $date tool
Support Joda Time in $date tool
-------------------------------
Key: VELTOOLS-135
URL: https://issues.apache.org/jira/browse/VELTOOLS-135
Project: Velocity Tools
Issue Type: Wish
Components: GenericTools
Affects Versions: 2.0
Reporter: David Parks
Priority: Minor
The $date tool doesn't support Joda Time formats. This may be as simple as just updating the ConversionUtil class to convert Joda time objects to java.util.Date types.
If updating ConversionUtils it might also be nice to get that from a Factory class that can be configured so that users can easily extend ConversionUtils to support other formats such as this. As is it's not easy to extend ConversionUtils.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Closed: (VELTOOLS-135) Support Joda Time in $date tool
Posted by "Antonio Petrelli (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELTOOLS-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed VELTOOLS-135.
-------------------------------------
Resolution: Won't Fix
The problem is that Joda Time would be another dependency in Velocity Generic Tools the way you proposed it.
However I think it could be a nice addition as a separate module.
But I don't think that any current Velocity developer has time to work on it. You can provide a patch or (probably better and easier) create an Apache Extras project:
http://www.apache-extras.org/
> Support Joda Time in $date tool
> -------------------------------
>
> Key: VELTOOLS-135
> URL: https://issues.apache.org/jira/browse/VELTOOLS-135
> Project: Velocity Tools
> Issue Type: Wish
> Components: GenericTools
> Affects Versions: 2.0
> Reporter: David Parks
> Priority: Minor
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> The $date tool doesn't support Joda Time formats. This may be as simple as just updating the ConversionUtil class to convert Joda time objects to java.util.Date types.
> If updating ConversionUtils it might also be nice to get that from a Factory class that can be configured so that users can easily extend ConversionUtils to support other formats such as this. As is it's not easy to extend ConversionUtils.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org