mercredi 27 juin 2018

Formatting dynamic dates in Laravel Blade

I am working on HTML emails in which there is a date section where I want to place a placeholder as it's a dynamic data.

The HTML code where I am using dates are:

<tr>
   <td style="padding-bottom: 3%;text-align:right;">when:</td>
   <td style="padding-bottom: 3%;padding-left: 8%;">Mar 28/18 @ 7:00pm to <br> Mar 30/18 @ 7:00pm</td>
</tr>

Problem

I am wondering in place of Mar 28/18 @ 7:00pm to <br> Mar 30/18 @ 7:00pm, what placeholder do I need to format the date variables properly?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire