UTC kısmı kaldırıldı.
This commit is contained in:
parent
0d7a6863c4
commit
9ea656349d
6 changed files with 17 additions and 20 deletions
|
|
@ -2816,16 +2816,6 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen
|
||||||
new() { FieldName = "Quantity", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
|
new() { FieldName = "Quantity", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
|
||||||
new() { FieldName = "UomId", FieldDbType = DbType.String, Value = "Adet", 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
|
}, autoSave: true
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ using Erp.Sender;
|
||||||
using Erp.MailQueue;
|
using Erp.MailQueue;
|
||||||
using Erp.Notifications.Domain;
|
using Erp.Notifications.Domain;
|
||||||
using Erp.Settings;
|
using Erp.Settings;
|
||||||
|
using System;
|
||||||
using Volo.Abp.AuditLogging;
|
using Volo.Abp.AuditLogging;
|
||||||
using Volo.Abp.BackgroundJobs;
|
using Volo.Abp.BackgroundJobs;
|
||||||
using Volo.Abp.FeatureManagement;
|
using Volo.Abp.FeatureManagement;
|
||||||
|
|
@ -15,6 +16,7 @@ using Volo.Abp.PermissionManagement.OpenIddict;
|
||||||
using Volo.Abp.TenantManagement;
|
using Volo.Abp.TenantManagement;
|
||||||
using Volo.Abp.BlobStoring;
|
using Volo.Abp.BlobStoring;
|
||||||
using Volo.Abp.BlobStoring.FileSystem;
|
using Volo.Abp.BlobStoring.FileSystem;
|
||||||
|
using Volo.Abp.Timing;
|
||||||
|
|
||||||
namespace Erp.Platform;
|
namespace Erp.Platform;
|
||||||
|
|
||||||
|
|
@ -49,10 +51,10 @@ public class PlatformDomainModule : AbpModule
|
||||||
//context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
|
//context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Configure<AbpClockOptions>(options =>
|
Configure<AbpClockOptions>(options =>
|
||||||
// {
|
{
|
||||||
// options.Kind = DateTimeKind.Utc;
|
options.Kind = DateTimeKind.Unspecified;
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -305,7 +305,7 @@ function UserDetails() {
|
||||||
form.setFieldValue(
|
form.setFieldValue(
|
||||||
field.name,
|
field.name,
|
||||||
date
|
date
|
||||||
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]')
|
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss')
|
||||||
: null,
|
: null,
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
@ -508,7 +508,7 @@ function UserDetails() {
|
||||||
form.setFieldValue(
|
form.setFieldValue(
|
||||||
field.name,
|
field.name,
|
||||||
date
|
date
|
||||||
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]')
|
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss')
|
||||||
: null,
|
: null,
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
@ -572,7 +572,7 @@ function UserDetails() {
|
||||||
form.setFieldValue(
|
form.setFieldValue(
|
||||||
field.name,
|
field.name,
|
||||||
date
|
date
|
||||||
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss[Z]')
|
? dayjs(date).format('YYYY-MM-DDTHH:mm:ss')
|
||||||
: null,
|
: null,
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -942,6 +942,10 @@ const Grid = (props: GridProps) => {
|
||||||
height: gridDto.gridOptions.editingOptionDto?.popup?.height,
|
height: gridDto.gridOptions.editingOptionDto?.popup?.height,
|
||||||
resizeEnabled: gridDto.gridOptions.editingOptionDto?.popup?.resizeEnabled,
|
resizeEnabled: gridDto.gridOptions.editingOptionDto?.popup?.resizeEnabled,
|
||||||
fullScreen: isPopupFullScreen,
|
fullScreen: isPopupFullScreen,
|
||||||
|
animation: {
|
||||||
|
show: { type: 'fade', duration: 0 },
|
||||||
|
hide: { type: 'fade', duration: 0 },
|
||||||
|
},
|
||||||
toolbarItems: [
|
toolbarItems: [
|
||||||
{
|
{
|
||||||
widget: 'dxButton',
|
widget: 'dxButton',
|
||||||
|
|
@ -1078,7 +1082,7 @@ const Grid = (props: GridProps) => {
|
||||||
editorOptions = {
|
editorOptions = {
|
||||||
...{
|
...{
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx',
|
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss',
|
||||||
displayFormat: 'shortDateShortTime',
|
displayFormat: 'shortDateShortTime',
|
||||||
},
|
},
|
||||||
...editorOptions,
|
...editorOptions,
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
||||||
editorOptions = {
|
editorOptions = {
|
||||||
...{
|
...{
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx',
|
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss',
|
||||||
displayFormat: 'shortDateShortTime',
|
displayFormat: 'shortDateShortTime',
|
||||||
},
|
},
|
||||||
...editorOptions,
|
...editorOptions,
|
||||||
|
|
@ -540,6 +540,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
||||||
key={`Scheduler-${listFormCode}-${schedulerDataSource ? 'loaded' : 'loading'}`}
|
key={`Scheduler-${listFormCode}-${schedulerDataSource ? 'loaded' : 'loading'}`}
|
||||||
id={'Scheduler-' + listFormCode}
|
id={'Scheduler-' + listFormCode}
|
||||||
dataSource={schedulerDataSource}
|
dataSource={schedulerDataSource}
|
||||||
|
dateSerializationFormat='yyyy-MM-ddTHH:mm:ss'
|
||||||
textExpr={gridDto.gridOptions.schedulerOptionDto?.textExpr || 'text'}
|
textExpr={gridDto.gridOptions.schedulerOptionDto?.textExpr || 'text'}
|
||||||
startDateExpr={gridDto.gridOptions.schedulerOptionDto?.startDateExpr || 'startDate'}
|
startDateExpr={gridDto.gridOptions.schedulerOptionDto?.startDateExpr || 'startDate'}
|
||||||
endDateExpr={gridDto.gridOptions.schedulerOptionDto?.endDateExpr || 'endDate'}
|
endDateExpr={gridDto.gridOptions.schedulerOptionDto?.endDateExpr || 'endDate'}
|
||||||
|
|
|
||||||
|
|
@ -984,7 +984,7 @@ const Tree = (props: TreeProps) => {
|
||||||
editorOptions = {
|
editorOptions = {
|
||||||
...{
|
...{
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ssxxx',
|
dateSerializationFormat: 'yyyy-MM-ddTHH:mm:ss',
|
||||||
displayFormat: 'shortDateShortTime',
|
displayFormat: 'shortDateShortTime',
|
||||||
},
|
},
|
||||||
...editorOptions,
|
...editorOptions,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue