From 9ea656349dd5e73e6171a5a6e1a0fd6e456a7db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Fri, 2 Jan 2026 00:30:40 +0300 Subject: [PATCH] =?UTF-8?q?UTC=20k=C4=B1sm=C4=B1=20kald=C4=B1r=C4=B1ld?= =?UTF-8?q?=C4=B1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Seeds/ListFormSeeder_Store.cs | 10 ---------- api/src/Erp.Platform.Domain/PlatformDomainModule.cs | 10 ++++++---- ui/src/views/admin/user-management/Details.tsx | 6 +++--- ui/src/views/list/Grid.tsx | 6 +++++- ui/src/views/list/SchedulerView.tsx | 3 ++- ui/src/views/list/Tree.tsx | 2 +- 6 files changed, 17 insertions(+), 20 deletions(-) diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs index d04e1322..fef36bdb 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Store.cs @@ -2816,16 +2816,6 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen new() { FieldName = "Quantity", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "UomId", FieldDbType = DbType.String, Value = "Adet", CustomValueType = FieldCustomValueTypeEnum.Value }, }), - CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] { - new() { - Hint = "Items", - Text ="Items", - UrlTarget="_blank", - AuthName = listFormName, - Url=$"/admin/form/{SeederUtils.GetDefaultFormCodes(listFormName)}/@Id", - IsVisible = true, - }, - }), }, autoSave: true ); diff --git a/api/src/Erp.Platform.Domain/PlatformDomainModule.cs b/api/src/Erp.Platform.Domain/PlatformDomainModule.cs index 7ad7f92e..1218f1fd 100644 --- a/api/src/Erp.Platform.Domain/PlatformDomainModule.cs +++ b/api/src/Erp.Platform.Domain/PlatformDomainModule.cs @@ -3,6 +3,7 @@ using Erp.Sender; using Erp.MailQueue; using Erp.Notifications.Domain; using Erp.Settings; +using System; using Volo.Abp.AuditLogging; using Volo.Abp.BackgroundJobs; using Volo.Abp.FeatureManagement; @@ -15,6 +16,7 @@ using Volo.Abp.PermissionManagement.OpenIddict; using Volo.Abp.TenantManagement; using Volo.Abp.BlobStoring; using Volo.Abp.BlobStoring.FileSystem; +using Volo.Abp.Timing; namespace Erp.Platform; @@ -49,10 +51,10 @@ public class PlatformDomainModule : AbpModule //context.Services.Replace(ServiceDescriptor.Singleton()); #endif - // Configure(options => - // { - // options.Kind = DateTimeKind.Utc; - // }); + Configure(options => + { + options.Kind = DateTimeKind.Unspecified; + }); } } diff --git a/ui/src/views/admin/user-management/Details.tsx b/ui/src/views/admin/user-management/Details.tsx index 194c8080..aa6f0bbc 100644 --- a/ui/src/views/admin/user-management/Details.tsx +++ b/ui/src/views/admin/user-management/Details.tsx @@ -305,7 +305,7 @@ function UserDetails() { form.setFieldValue( field.name, date - ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]') + ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss') : null, ) }} @@ -508,7 +508,7 @@ function UserDetails() { form.setFieldValue( field.name, date - ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]') + ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss') : null, ) }} @@ -572,7 +572,7 @@ function UserDetails() { form.setFieldValue( field.name, date - ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]') + ? dayjs(date).format('YYYY-MM-DDTHH:mm:ss') : null, ) }} diff --git a/ui/src/views/list/Grid.tsx b/ui/src/views/list/Grid.tsx index 368918ac..b61d9920 100644 --- a/ui/src/views/list/Grid.tsx +++ b/ui/src/views/list/Grid.tsx @@ -942,6 +942,10 @@ const Grid = (props: GridProps) => { height: gridDto.gridOptions.editingOptionDto?.popup?.height, resizeEnabled: gridDto.gridOptions.editingOptionDto?.popup?.resizeEnabled, fullScreen: isPopupFullScreen, + animation: { + show: { type: 'fade', duration: 0 }, + hide: { type: 'fade', duration: 0 }, + }, toolbarItems: [ { widget: 'dxButton', @@ -1078,7 +1082,7 @@ const Grid = (props: GridProps) => { editorOptions = { ...{ type: 'datetime', - dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx', + dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss', displayFormat: 'shortDateShortTime', }, ...editorOptions, diff --git a/ui/src/views/list/SchedulerView.tsx b/ui/src/views/list/SchedulerView.tsx index de66cf13..5de41c79 100644 --- a/ui/src/views/list/SchedulerView.tsx +++ b/ui/src/views/list/SchedulerView.tsx @@ -328,7 +328,7 @@ const SchedulerView = (props: SchedulerViewProps) => { editorOptions = { ...{ type: 'datetime', - dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx', + dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss', displayFormat: 'shortDateShortTime', }, ...editorOptions, @@ -540,6 +540,7 @@ const SchedulerView = (props: SchedulerViewProps) => { key={`Scheduler-${listFormCode}-${schedulerDataSource ? 'loaded' : 'loading'}`} id={'Scheduler-' + listFormCode} dataSource={schedulerDataSource} + dateSerializationFormat='yyyy-MM-ddTHH:mm:ss' textExpr={gridDto.gridOptions.schedulerOptionDto?.textExpr || 'text'} startDateExpr={gridDto.gridOptions.schedulerOptionDto?.startDateExpr || 'startDate'} endDateExpr={gridDto.gridOptions.schedulerOptionDto?.endDateExpr || 'endDate'} diff --git a/ui/src/views/list/Tree.tsx b/ui/src/views/list/Tree.tsx index f811afd8..8b3d14d3 100644 --- a/ui/src/views/list/Tree.tsx +++ b/ui/src/views/list/Tree.tsx @@ -984,7 +984,7 @@ const Tree = (props: TreeProps) => { editorOptions = { ...{ type: 'datetime', - dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx', + dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss', displayFormat: 'shortDateShortTime', }, ...editorOptions,