I am converting time to french date time using formatLocalized but it sometimes gives strange JSON character. Sometimes it works fine and some times it doesnt.
this is what i am calling
dd($date->copy()->modify($time)->setTimezone($input['timezone'])->formatLocalized('%A, %B %d'));
and this is what i am getting in response
b"mercredi, août 30"
the correct response will be wituouth "b"
Am i doing something wrong ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire