We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfc554 commit 75ab11aCopy full SHA for 75ab11a
src/scope/hour-scope.ts
@@ -22,7 +22,9 @@ export class HourScope extends AbstractScope {
22
}
23
24
public formatDate(date: Date, locale?: any): string {
25
- return formatDate(date, 'HH');
+ const options = locale ? { locale } : this._formattiongOptions;
26
+
27
+ return formatDate(date, 'HH', options);
28
29
30
public title(date: Date): string {
0 commit comments