Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023177Openbravo ERPA. Platformpublic2013-02-27 10:052013-02-27 10:11
vmromanos 
AugustoMauch 
urgentmajorN/A
newopen 
20Debian 5.0
pi 
 
Core
No
0023177: add_hours(), add_minutes(), add_seconds() database functions
We currently support the add_days and add_months database functions. I think we are missing the add_hours(), add_minutes() and add_seconds().

This kind of functions are very useful for coworking related operations.
N/A
The attached diff is an example of how these functions look like in both Oracle and Postgres. Important: The patch itself is not tested, but the code that creates the function is working fine.

Please ensure these functions can be called from HQL.
Coworking
diff ADD_DAYS.diff (1,945) 2013-02-27 10:05
https://issues.openbravo.com/file_download.php?file_id=6001&type=bug
Issue History
2013-02-27 10:05vmromanosNew Issue
2013-02-27 10:05vmromanosAssigned To => AugustoMauch
2013-02-27 10:05vmromanosFile Added: ADD_DAYS.diff
2013-02-27 10:05vmromanosModules => Core
2013-02-27 10:05vmromanosTriggers an Emergency Pack => No
2013-02-27 10:11vmromanosTag Attached: Coworking

There are no notes attached to this issue.