public function DateTimePlus::render in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::render()
Renders the timezone name.
Return value
string
Overrides ToStringTrait::render
File
- core/lib/ Drupal/ Component/ Datetime/ DateTimePlus.php, line 281 
- Contains \Drupal\Component\Datetime\DateTimePlus.
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
public function render() {
  return $this
    ->format(static::FORMAT) . ' ' . $this
    ->getTimeZone()
    ->getName();
}