Skip to content

Commit 7274068

Browse files
Adds a change that should have been included in SimpleMachines#8366
Signed-off-by: Jon Stovell <jonstovell@gmail.com>
1 parent 15dc4ee commit 7274068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Calendar/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2599,7 +2599,7 @@ protected static function standardizeEventOptions(array $input): array
25992599

26002600
// If string input was given, override individually defined options with it.
26012601
if (isset($datetime_string)) {
2602-
$datetime_string_parsed = date_parse(str_replace(',', '', Calendar::convertDateToEnglish($datetime_string)));
2602+
$datetime_string_parsed = date_parse(str_replace(',', '', Time::convertToEnglish($datetime_string)));
26032603

26042604
if (is_array($datetime_string_parsed) && empty($datetime_string_parsed['error_count']) && empty($datetime_string_parsed['warning_count'])) {
26052605
$datetime_string_parsed = array_filter(

0 commit comments

Comments
 (0)