Skip to content

Commit fefd302

Browse files
committed
Docstring
1 parent f57a808 commit fefd302

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/datetime/check_time.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { WEEKDAY_MAP, type WeekdayShort } from "./weekday";
66

77
/**
88
* Parse a time string (HH:MM or HH:MM:SS) and set it on today's date in the given timezone
9+
* @param timeString The time string to parse
10+
* @param timezone The timezone to use
11+
* @returns The Date object
912
*/
1013
const parseTimeString = (timeString: string, timezone: string): Date => {
1114
const parts = timeString.split(":");

0 commit comments

Comments
 (0)