mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Fix whitespace in Tests output
This commit is contained in:
parent
90a09a78f4
commit
6dc40e6178
@ -52,7 +52,8 @@ class ScheduledCest
|
||||
private function getLabelText(?Datetime $datetime = null): string
|
||||
{
|
||||
return $datetime instanceof DateTime
|
||||
? 'SCHEDULED FOR ' . Yii::$app->formatter->asDatetime($datetime, self::DATE_FORMAT)
|
||||
// Replace newly introduced Unicode separator whitespace, which a standard one, to sway backward compatible.
|
||||
? 'SCHEDULED FOR ' . str_replace(' ', ' ', Yii::$app->formatter->asDatetime($datetime, self::DATE_FORMAT))
|
||||
: 'DRAFT';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user