Skip to content

Commit

Permalink
Merge pull request #2375 from TimaQT/features/timaqt/EMBCESSMOD-5621
Browse files Browse the repository at this point in the history
EMBCESSMOD-5621 - Time issue fixed for DateTime conversion
  • Loading branch information
ytqsl authored Jul 11, 2024
2 parents d2356a2 + 80268d6 commit ee532e0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class DateConversionService {
createDateTimeString(date: string, time: string) {
if (time && date) {
const dateToDate = new Date(date);
dateToDate.setHours(0, 0, 0, 0);
const hours = +time.split(':', 1).pop();
const minutes = +time.split(':', 2).pop();

Expand Down

0 comments on commit ee532e0

Please sign in to comment.