Skip to content

Commit

Permalink
converting assigned bound method to a class method
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklharper committed Dec 11, 2024
1 parent da1594d commit 99e9420
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ export class InputTimePicker
}
}

private getLocalizedTimeString = (params?: GetLocalizedTimeStringParameters): string => {
private getLocalizedTimeString(params?: GetLocalizedTimeStringParameters): string {
const hour12 = params?.hourFormat === "12" || (this.hourFormat && this.hourFormat === "12");
const locale = params?.locale ?? this.messages._lang;
const numberingSystem = params?.numberingSystem ?? this.numberingSystem;
Expand All @@ -893,7 +893,7 @@ export class InputTimePicker
value,
}) ?? ""
);
};
}

onLabelClick(): void {
this.setFocus();
Expand Down

0 comments on commit 99e9420

Please sign in to comment.