Fix promo date format

This commit is contained in:
Hillel Coren 2017-07-12 12:38:21 +03:00
parent a85343c8e8
commit 94fc08d657

View File

@ -11,7 +11,7 @@ class CompanyPresenter extends EntityPresenter
} }
return trans('texts.promo_message', [ return trans('texts.promo_message', [
'expires' => $this->entity->promo_expires->format('M dS, Y'), 'expires' => $this->entity->promo_expires->format('M jS, Y'),
'amount' => (int) ($this->discount * 100) . '%', 'amount' => (int) ($this->discount * 100) . '%',
]); ]);
} }