You need to sign in to do that
Don't have an account?

Issue with date format on Visual force page (Taking locale into consideration)
Hi,
I am trying to display a date field and it always displays in US format and it is causing an issue . Any insight please on this
Thanks
G
I am trying to display a date field and it always displays in US format and it is causing an issue . Any insight please on this
<apex:column styleClass="product_info_col"> <span><a href="javascript:void(0)" onclick="openProductDetailModal('{!$Site.Prefix}/apex/CCMTY_OrderProductDetailModal?id={!orderItem.PricebookEntry.Product2Id}&pricebookEntryId={!orderItem.PricebookEntryId}');"> {!orderItem.PricebookEntry.Product2.Name} </a> </span> <span>{!$Label.CCMTY_OrderEntry_HeaderLabel_UnitPrice}: {!orderItem.unitPrice}</span> <span>{!$Label.CCMTY_OrderEntry_HeaderLabel_EstimatedShipDate}: <apex:outputText value="{0,date,Long}"> <apex:param value="{!orderItem.Estimated_Ship_Date__c}" /> </apex:outputText></span> <span>{!$Label.CCMTY_OrderEntry_HeaderLabel_EstimatedDeliveryDate}: <apex:outputText value="{0,date,Long}"> <apex:param value="{!orderItem.Order_Line_Estimated_Delivery_Date__c}" /> </apex:outputText></span> <!-- <Apex:outputlabel value="{!$Label.CCMTY_OrderEntry_HeaderLabel_EstimatedDeliveryDate}" style="white-space:pre;" escape="true"/> <apex:outputField label="{!$Label.CCMTY_OrderEntry_HeaderLabel_EstimatedDeliveryDate}" value="{!orderItem.Order_Line_Estimated_Delivery_Date__c}" /> --> </apex:column>
Thanks
G
Hit LIKE if this helps, Mark it as Best Answer if it solved your problem