Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Last active December 19, 2015 04:48
Show Gist options
  • Save vijaycs85/5899309 to your computer and use it in GitHub Desktop.
Save vijaycs85/5899309 to your computer and use it in GitHub Desktop.
<?php
foreach ($format_types as $type => $type_info) {
$options[$type] = $type_info->label() . ' (' . format_date($time->format('U'), $type) . ')';
}
?>
do we need format_date here?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment