Activities of "maliming"

hi

Howt about this way?

app.UseAbpRequestLocalization();
app.Use(async (httpContext, next) =>
{
    if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName == "ar")
    {
        CultureInfo.CurrentUICulture = new CultureInfo("ar")
        {
            DateTimeFormat =
            {
                ShortDatePattern = "your custom format",
                Calendar = new GregorianCalendar()
                // other properties of DateTimeFormat 
            }
            // other properties of CultureInfo
        };
    }
    await next(httpContext);
});

hi

https://support.abp.io/QA/Questions/3327/

hi

Can you consider it like this?

@if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName == "ar")
{
    <input type="text"
           class="form-control"
           name="StartDate"
           value="@DateTime.Now.AddMonths(-1).Date.ToString("Custom your ShortDatePattern")" />
}
else
{
    <input type="text"
           class="form-control"
           name="StartDate"
           value="@DateTime.Now.AddMonths(-1).Date.ToString(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern)" />
}

Resolved

I can't download, please share a url that can be downloaded directly.

A minimal project, Thanks liming.ma@volosoft.com

Please find a way to provide a project that reproduces the problem.

In your Blazor.csproj file and update the Blazorise packages version to 1.0.4 then re-run the abp bundle command.

hi

You can try to update the version of Blazorise.,

    <PackageReference Include="Blazorise.Bootstrap5" Version="1.0.4" />
    <PackageReference Include="Blazorise.Icons.FontAwesome" Version="1.0.4" />
    <PackageReference Include="Blazorise.Components" Version="1.0.4" />

I can't find a possible solution based on the info you provided, You can try to prepare a minimal project to reproduce the problem.

Showing 8631 to 8640 of 11531 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.