UTC kısmı kaldırıldı.

This commit is contained in:
Sedat Öztürk 2026-01-02 00:30:40 +03:00
parent 0d7a6863c4
commit 9ea656349d
6 changed files with 17 additions and 20 deletions

View file

@ -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
);

View file

@ -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<IEmailSender, NullEmailSender>());
#endif
// Configure<AbpClockOptions>(options =>
// {
// options.Kind = DateTimeKind.Utc;
// });
Configure<AbpClockOptions>(options =>
{
options.Kind = DateTimeKind.Unspecified;
});
}
}

View file

@ -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,
)
}}

View file

@ -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,

View file

@ -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'}

View file

@ -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,