Skip to content

Commit

Permalink
feat(cb2-8776): removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Searle committed Jul 26, 2023
1 parent 8fe234d commit 6fb1b9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/forms/validators/date/date.validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export class DateValidators {

private static validateTime(time: string, label: string | undefined) {
const [hours, minutes] = time.split(':');
console.log(`hours ${hours}`);
console.log(`minutes ${minutes}`);
if (hours === '00' || minutes == '00') {
return { invalidDate: { error: true, reason: `'${label || 'Date'}' must include time` } };
}
Expand Down

0 comments on commit 6fb1b9a

Please sign in to comment.