diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2023-01-23 14:06:33 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2023-01-23 14:06:33 +0000 |
| commit | bd6c2bddb4d00f074751c4ac5db8e2c6e8e2c85c (patch) | |
| tree | 7567d237fd8dd0e06442799fe96a723e55170cc0 /lib/dates.inc.php | |
| parent | 61cff0278cb6e8a21feedbcef10094d0d43119a6 (diff) | |
made the times / rooms section on the course details page more accessible, closes #1244
Closes #1244
Merge request studip/studip!840
Diffstat (limited to 'lib/dates.inc.php')
| -rw-r--r-- | lib/dates.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dates.inc.php b/lib/dates.inc.php index e9f0841..8538d24 100644 --- a/lib/dates.inc.php +++ b/lib/dates.inc.php @@ -223,8 +223,7 @@ function shrink_dates($dates) { } if (empty($dates[$i]["conjuncted"]) || empty($dates[$i+1]["conjuncted"])) { - $return_string .= ' ' . strftime('%A', $dates[$i]['start_time']) .'.'; - $return_string .= date (" d.m.y", $dates[$i]["start_time"]); + $return_string .= strftime(' %A, %d.%m.%Y', $dates[$i]['start_time']); } if (!$conjuncted && !empty($dates[$i+1]["conjuncted"])) { |
