Is there a reason for doing this?

In general with dates in OFBiz if we move away from the standard format that is 
used everywhere (the descending format that is the default for Timestamps) we 
open a Pandora's Box of issues with localization and which of the details to 
include or leave out. It also opens issues with confusing users as to the 
format to use when entering date/time information if it is not consistent with 
the output presented by the applications.

These are not issues I want us to be dealing with in the core OFBiz 
applications...

In general please don't be too quick to change things, especially that are 
related to established patterns. Many of these were established after years of 
feedback and trying different things and there are always trade-offs with such 
things that one must watch out for.

-David


[EMAIL PROTECTED] wrote:
Author: sichen
Date: Fri Jul 14 14:16:54 2006
New Revision: 422052

URL: http://svn.apache.org/viewvc?rev=422052&view=rev
Log:
Changed the date format in orderlist to be something more user friendly.

Modified:
    incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl

Modified: 
incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl?rev=422052&r1=422051&r2=422052&view=diff
==============================================================================
--- 
incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl 
(original)
+++ 
incubator/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderlist.ftl 
Fri Jul 14 14:16:54 2006
@@ -139,7 +139,7 @@
                 <tr><td colspan="8"><hr class="sepbar"/></td></tr>
                 <tr>
                   <td>
-                    <div 
class="tabletext">${orderHeader.orderDate.toString()}</div>
+                    <div 
class="tabletext">${orderHeader.orderDate?string.medium_short}</div>
                   </td>
                   <td>
                     <div class="tabletext"><a 
href="<@ofbizUrl>orderview?orderId=${orderHeader.orderId}</@ofbizUrl>" 
class="buttontext">${orderHeader.orderId}</a>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to