So we have to send a different date type depending on where it's used.
Used when encoding a date value to send to the client.
protected _formatDate ( Horde_Date $dt, integer $type ) : string | ||
$dt | Horde_Date | The Horde_Date object to format (should normally be in local tz). |
$type | integer | The type to format as: One of TYPE_DATE or TYPE_DATE_DASHES, TYPE_DATE_LOCAL |
Résultat | string | The formatted date |