Skip to content

Commit

Permalink
Clarify isWeekend docs (date-fns#3786)
Browse files Browse the repository at this point in the history
Co-authored-by: Sasha Koss <[email protected]>
  • Loading branch information
lakshmimaddipati and kossnocorp authored May 13, 2024
1 parent c13e2c6 commit c053552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isWeekend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { toDate } from "../toDate/index.js";
* @summary Does the given date fall on a weekend?
*
* @description
* Does the given date fall on a weekend?
* Does the given date fall on a weekend? A weekend is either Saturday (`6`) or Sunday (`0`).
*
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
*
Expand Down

0 comments on commit c053552

Please sign in to comment.