Skip to content

Commit

Permalink
fix(desert-bus): correct shift delineations
Browse files Browse the repository at this point in the history
  • Loading branch information
VodBox committed Jan 15, 2024
1 parent 48c1c87 commit eefbd2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/channels/desert-bus/daytime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export function shiftTime(): 'zeta' | 'dawn' | 'alpha' | 'night' | 'omega' {

const hour = datetime.hour;

if (hour > 18) return 'night';
if (hour > 12) return 'alpha';
if (hour > 6) return 'dawn';
if (hour >= 18) return 'night';
if (hour >= 12) return 'alpha';
if (hour >= 6) return 'dawn';
return 'zeta';
}

0 comments on commit eefbd2e

Please sign in to comment.