We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTime format bug

Thread ID:

Created:

Updated:

Platform:

Replies:

129872 Apr 6,2017 04:28 PM UTC Apr 7,2017 10:59 AM UTC ASP.NET MVC 1
loading
Tags: Grid
MikeB
Asked On April 6, 2017 04:28 PM UTC

I have found a bug in DateTime format.
To show date in format like "31-08-2011" I have to use pattern "{0:MM-dd-yyyy}"

When I use format pattern "{0:dd-MM-yyyy}" I get "8-31-2011"

Thavasianand Sankaranarayanan [Syncfusion]
Replied On April 7, 2017 10:59 AM UTC

Hi Michal, 

Thanks for contacting Syncfusion support. 

Query : Found a bug in DateTime format 
 
We have analyzed your query and we suspect that if you mention the format for date as (dd-MM-yyyy) but it is not displayed as “08-31-2011”.  
 
We have checked in our sample and we are unable to reproduce the issue from our end. 

We have prepared a sample and it can be downloadable from the below location. 


Note: In addition that you have mentioned format as “{0:MM-dd-yyyy}” but it displays as the format “31-08-2011”. Format starts with month(MM) but it display the date(31). 

Please provide the following details for better assistance. 

  1. Share the grid code example.
  2. Essential studio version.
  3. Have you mention the date value as string in dataSource?
  4. If possible share the sample or reproduce the issue in the attached sample.

Regards, 
Thavasianand S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;