At least in the Swedish educational system, the week number is the basic form of organizing a calendar, so people are really obsessed with them. Allowing for week numbers as part of the date could be valuable in Booked. It would only need a few lines of code - this is my suggestion:
In /lib/Common/Date.php and the function InitializeParts(), change the row
$parts = explode(' ', $this->date->format('H i s m d Y w'));
$parts = explode(' ', $this->date->format('H i s m d Y w W'));
and then add
$this->parts['wnumber'] = $parts;
at end of that function.
Also, after e.g. the function Month()
public function Weeknumber()
Log in to post a comment.