Skip to content

Commit

Permalink
fix: fix import for isWeekend
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Aug 28, 2023
1 parent 3370a62 commit c0b46be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/auto-run-ac/src/worker.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import type { Env } from 'cloudflare-env';
import { isWeekend } from 'date-fns';
import { initSentry, switchbot } from 'shared';
import { utcToZonedTime } from 'date-fns-tz';
import { isHoliday } from '@holiday-jp/holiday_jp';
import { getUtcDate, isBannedHour, formatDate } from './lib/date';
import { getUtcDate, isBannedHour, formatDate, isWeekend } from './lib/date';
import { notifyAirConditionerOnToDiscord } from './lib/discord';
import { TIME_ZONE, TRIGGERS } from './lib/const';
import { filterValidTrigger } from './lib/trigger';
Expand Down

0 comments on commit c0b46be

Please sign in to comment.