Skip to content

Commit

Permalink
Merge pull request #2 from Lucky3028/fix/isWeekend
Browse files Browse the repository at this point in the history
fix: fix import for isWeekend
  • Loading branch information
Lucky3028 authored Aug 28, 2023
2 parents 3370a62 + c0b46be commit be180a7
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 be180a7

Please sign in to comment.