This is a migrated thread and some comments may be shown as answers.

Date Format with strange behavior on deploy server

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Missing User
Missing User asked on 06 Sep 2011, 03:10 PM
Hello!

I have a telerik Report with various Date fields, 2 of them are the report parameters and the other is from my database.

I set the date format for my 2 textbox that shows the Selected date on the DateTimePicker to 01/01/2011
and to my date column i set a format like this: 01/01/2011 08:00 (with time)

My problem is, on development machine all works perfect, but when i deploy my application, the fields show the dates in a differente way,
all of them use this format 1/1/2011 (without the "0").

I tried everything untill now and had no success, my question is, there's something that i need to change to get this format on my date times in the server or something?

I attach a image taht shows the problem.

Thank you!

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Sep 2011, 01:33 PM
Hi Joao Paulo Grassi,

The only thing that could cause the difference is different culture/locale on the production server. Compare both (on the production and dev machine) and apply the one that fits your needs.

Greetings,
Steve
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
Missing User
Answers by
Steve
Telerik team
Share this question
or