Skip to content

Commit 1eaec07

Browse files
matejchalkBioPhoton
andcommitted
docs(utils): explain fixed locale
Co-authored-by: Michael Hladky <10064416+BioPhoton@users.noreply.github.com>
1 parent 27d267a commit 1eaec07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/utils/src/lib/formatting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function formatDuration(duration: number): string {
5353
}
5454

5555
export function formatDate(date: Date): string {
56-
const locale = 'en-US'; // fixed locale to ensure consistency
56+
const locale = 'en-US'; // fixed locale to ensure consistency across local defaults execution
5757
return date
5858
.toLocaleString(locale, {
5959
weekday: 'short',

0 commit comments

Comments
 (0)