Skip to content

Dateformat and C# MVC - Trying to help... #387

Description

@rhousham

Hi unsure where this belongs, however if you are creating a new C# MVC application. In previous incarations of the datepicker the MMM format has returned back 3 digit months. This is still the case apart from September which returns back Sept.

C# Doesn't - out of the box - recognise this as a valid month/date.
At least not in the Uk - great britain.

The fix - enter

<system.web>
`    <globalization uiCulture="en" culture="en-GB"/>`
</system.web>

In the web.config.

This seems to be down to the Intl.DateTimeFormat library and less tempusdominus - but thought I would save someone a job if they find this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions