Revert "U4-5520: Localize datepicker"
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Umbraco.Web.PropertyEditors
|
||||
{
|
||||
_defaultPreVals = new Dictionary<string, object>
|
||||
{
|
||||
{"format", "YYYY-MM-DD"},
|
||||
{"format", "yyyy-MM-dd"},
|
||||
{"pickTime", false}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,9 @@ namespace Umbraco.Web.PropertyEditors
|
||||
{
|
||||
_defaultPreVals = new Dictionary<string, object>
|
||||
{
|
||||
{"format", "YYYY-MM-DD HH:mm:ss"}
|
||||
//NOTE: This is very important that we do not use .Net format's there, this format
|
||||
// is the correct format for the JS picker we are using so you cannot capitalize the HH, they need to be 'hh'
|
||||
{"format", "yyyy-MM-dd hh:mm:ss"}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user