NAME
Catmandu::Fix::start_week - Catmandu Fix for retrieving date string for start of the current week
SYNOPSIS
#get start of the week in time zone Europe/Brussels
start_week(
'start_week'
,
'pattern'
=>
'%Y-%m-%dT%H:%M:SZ'
,
'time_zone'
=>
'Europe/Brussels'
)
#get start of the week, within 2 weeks, in time zone Europe/Brussels
start_week(
'start_week'
,
'pattern'
=>
'%Y-%m-%dT%H:%M:SZ'
,
'time_zone'
=>
'Europe/Brussels'
,
'add'
=> 2)
AUTHOR
Nicolas Franck, <nicolas.franck at ugent.be>