4.3 admin date format

1 week ago
HI is any got the solution ,
like need to change the DD/MM/YYYY

as I have follow this things and change the the culture language as suggest by AM , but still not work
I prefer this link but not work for me

can any one have idea regarding about this that without changes the code in framework  file
let me know if have any idea regarding the date format
1 week ago
i think there is no easy option here, NOP don't seem interested in fixing something so basic.

this is one of the (numberous) reasons we've moved away from NOP now - good luck
1 week ago
Here is an easy option :)
I use Kendo for my date fields in Plugins
It is pretty simple you dont need to change any code to use it
I just threw this together for instance on the Order/List.cshtml to change the StartDate entry

Change/Add this code at the top

@model OrderSearchModel

@inject IStoreService storeService
@using Nop.Services.Stores
@using System.Globalization

@{
    //page title
    ViewBag.PageTitle = T("Admin.Orders").Text;
    //active menu item (system name)
    Html.SetActiveMenuItemSystemName("Orders");

    const string hideSearchBlockAttributeName = "OrdersPage.HideSearchBlock";
    var hideSearchBlock = genericAttributeService.GetAttribute<bool>(workContext.CurrentCustomer, hideSearchBlockAttributeName);

    var language = workContext.WorkingLanguage;
    string shortDatePattern = CultureInfo.GetCultureInfo(language.LanguageCulture).DateTimeFormat.ShortDatePattern;
    string toDisplayFormat = "dd/MM/yyyy"; // Default pattern

    if (shortDatePattern.Contains("M/d/") || shortDatePattern.Contains("MM/dd/") ||
        shortDatePattern.Contains("M.d.") || shortDatePattern.Contains("MM.dd."))
    {
        //US or others cultures pattern
        toDisplayFormat = "MM/dd/yyyy";
    }

    string kendoToStringFormat = toDisplayFormat;
}

Change the Field  code
<div class="form-group row">
    <div class="col-md-4">
        <nop-label asp-for="StartDate" />
    </div>
    <div class="col-md-8">
        <input type="text" name="@Model.StartDate" id="StartDate" />
    </div>
</div>

Add some script to activate the field
<script>
    $(document).ready(function () {
        $("#StartDate").kendoDatePicker({
            format: "@kendoToStringFormat"
        });
    });
</script>
1 week ago
@Yidna
Thank for response

Yes you are right but this for only order list ,
I needed in full nop ,
tried the other things as suggest by AM in language culture , but not getting luck for that
if any thing apart this if have then please inform