Client - minor refactor

This commit is contained in:
Sam
2021-10-23 15:44:25 +02:00
parent 8efbc4584e
commit bf229860ae
3 changed files with 10 additions and 7 deletions

View File

@ -11,7 +11,7 @@ import {
} from 'date-fns'
import { utcToZonedTime } from 'date-fns-tz'
export const startDate = (
export const getStartDate = (
duration: string,
day: Date,
weekStartingMonday: boolean