Browse Source
Merge pull request #15848 from abpframework/issue/13605-fix-date-time-picker
Issue/13605 fix date time picker
pull/15855/head
Barış Can Yılmaz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
npm/ng-packs/packages/theme-shared/extensions/src/lib/adapters/date-time.adapter.ts
|
|
@ -44,10 +44,10 @@ export class DateTimeAdapter { |
|
|
const date = new Date( |
|
|
const date = new Date( |
|
|
newValue.year, |
|
|
newValue.year, |
|
|
newValue.month - 1, |
|
|
newValue.month - 1, |
|
|
value.day, |
|
|
newValue.day, |
|
|
value.hour, |
|
|
newValue.hour, |
|
|
value.minute, |
|
|
newValue.minute, |
|
|
value.second, |
|
|
newValue.second, |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
return new Date(date).toISOString(); |
|
|
return new Date(date).toISOString(); |
|
|
|