You need to sign in to do that
Don't have an account?
Filikin
public force.com site input date format wrong
Hi,
on my force.com public site, the input date format uses the US format, but the public site guest user shows the time zone as GMT and locale as English/Ireland
The page is very simple and on another org, which looks identical to me, it is fine:
<apex:page standardController="Contact" >
<apex:form>
<apex:inputField id="Date" value="{!Contact.BirthDate}" />
</apex:form>
</apex:page>
any ideas?
on my force.com public site, the input date format uses the US format, but the public site guest user shows the time zone as GMT and locale as English/Ireland
The page is very simple and on another org, which looks identical to me, it is fine:
<apex:page standardController="Contact" >
<apex:form>
<apex:inputField id="Date" value="{!Contact.BirthDate}" />
</apex:form>
</apex:page>
any ideas?
I have faced the similar situation.Basically the input date format and the timezone uses the system defined for the guest user profile defined in your org. Guest users are the users view your site page without silenced salesforce paid users. You have to change that user settings to change your date and time format and locale.
Just follow the below steps to solve this :
Go to your site
Click the public Access Setting Button
Go to View Users
You will find one guest user, salesforce consider any user access the site as this particular user
Just change the timezone for this user.
Do take a look at the below link for better understanding
Verify the steps by reloading the page after logout from your salesforce session
Let me know if you need further help.
Thanks and Regards,
Shiva RV
Please share the screen shot once. i couldnt see your screenshot. Provide noth the setting applied and the site user value displayed screen shot.
Please verify once that you accessed the site url after logging out from the salesforce session.
Because if you logged in from your salesforce session,it may take your salesforce user session in site.
verify and let me know .
Thanks and Regards,
Shiva RV
this is a link to the screenshot: https://www.dropbox.com/s/vkfyl1lyumsnmm8/Guest%20user.png?dl=0
and this is the page that shows the date: https://ekicpo-icpo.cs88.force.com/
All my users have a timezone of either Ireland or BST, so I can't see where it could be picking up the US setting.
I am now even more puzzled, as it looks fine in IE and Edge, it is only Firefox and Chrome that show the US format