mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
Bump fecha (#5728)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import fecha from "fecha";
|
||||
import { format } from "fecha";
|
||||
import { toLocaleDateStringSupportsOptions } from "./check_options_support";
|
||||
|
||||
export const formatDate = toLocaleDateStringSupportsOptions
|
||||
@@ -8,4 +8,4 @@ export const formatDate = toLocaleDateStringSupportsOptions
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
})
|
||||
: (dateObj: Date) => fecha.format(dateObj, "longDate");
|
||||
: (dateObj: Date) => format(dateObj, "longDate");
|
||||
|
||||
Reference in New Issue
Block a user