Welcome Guest Search | Active Topics | Sign In | Register

Date Picker Localization Options
ITMA
Posted: Monday, March 11, 2013 10:58:55 AM
Rank: Advanced Member
Groups: Member

Joined: 6/23/2010
Posts: 48
Hi.

I'm stuck into an small issue regarding localization for Sweden. I wish to have 24 hour selection in the datepicker. However I'm only able to have it using 12 hours.

I've been using both directive in Web.config as well in page directive eg.
… Culture="sv-SE" CodeFile="Recruit.aspx.vb" ....

Also tried … dtpEventStart.PickerFormat = "yyyy-mm-dd hh:mm" ...

Still having 12 hours format ?


Please advise what's my mistake is!

Thank's



Best

ITMA
eo_support
Posted: Monday, March 11, 2013 12:31:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I believe you need to use "HH" instead of "hh" for 24 hours format.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.