Skip to content

Commit 9a41ed0

Browse files
gr8manmichalsn
andcommitted
Update system/I18n/TimeTrait.php
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent 1401107 commit 9a41ed0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎system/I18n/TimeTrait.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public static function yesterday($timezone = null, ?string $locale = null)
172172
*/
173173
public static function tomorrow($timezone = null, ?string $locale = null)
174174
{
175-
return (new static(null, $timezone, $locale))->modify('+1 day')->setTime(0, 0, 0, 0);
175+
return (new static(null, $timezone, $locale))->modify('tomorrow');
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)