1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-27 14:09:19 +00:00

Import all date-fns from modules (#12717)

This commit is contained in:
Paulus Schoutsen
2022-05-18 12:09:25 -07:00
committed by GitHub
parent 2796c3570a
commit 82035d587a
14 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
import { format, startOfToday, startOfTomorrow } from "date-fns";
import { format, startOfToday, startOfTomorrow } from "date-fns/esm";
import { EnergySolarForecasts } from "../../../src/data/energy";
import { MockHomeAssistant } from "../../../src/fake_data/provide_hass";

View File

@@ -4,7 +4,7 @@ import {
addMonths,
differenceInHours,
endOfDay,
} from "date-fns";
} from "date-fns/esm";
import { HassEntity } from "home-assistant-js-websocket";
import { StatisticValue } from "../../../src/data/history";
import { MockHomeAssistant } from "../../../src/fake_data/provide_hass";