Revert "U4-5520: Localize datepicker"

This commit is contained in:
Shannon
2014-10-27 17:47:50 +10:00
parent e6eb25b58a
commit 87db6d672a
9 changed files with 1348 additions and 10559 deletions

View File

@@ -16,7 +16,7 @@ namespace Umbraco.Web.PropertyEditors
{
_defaultPreVals = new Dictionary<string, object>
{
{"format", "YYYY-MM-DD"},
{"format", "yyyy-MM-dd"},
{"pickTime", false}
};
}

View File

@@ -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"}
};
}