Добавил настройку для даты в БД

parent 85a80e47
......@@ -10,6 +10,9 @@ services.AddControllersWithViews();
services.AddAppServices(configuration);
var app = builder.Build();
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment