Skip to content

Commit

Permalink
chore: respect the 24hours format in locale-date
Browse files Browse the repository at this point in the history
  • Loading branch information
William Rijksen authored Jul 25, 2024
1 parent f9c64e7 commit 29ff531
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,12 @@ export class LocaleDatePipe extends LocaleBasePipe implements PipeTransform {
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
hour12: true,
};
case 'mediumTime':
return {
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
hour12: true,
};
case 'longDate':
return {
Expand All @@ -75,7 +73,6 @@ export class LocaleDatePipe extends LocaleBasePipe implements PipeTransform {
year: '2-digit',
hour: 'numeric',
minute: 'numeric',
hour12: true,
};
default:
return;
Expand Down

0 comments on commit 29ff531

Please sign in to comment.