code: private function getDateTimeFormatter()
      {
          if ($this->dateTimeFormatter) {
              return $this->dateTimeFormatter;
          }
  
          return $this->dateTimeFormatter = IntlDateFormatter::create(
              $this->locale,
              IntlDateFormatter::SHORT,
              IntlDateFormatter::SHORT,
              ini_get('date.timezone'),
              //PHP_VERSION_ID >= 50500 ? $date->getTimezone() : $date->getTimezone()->getName(),
              IntlDateFormatter::GREGORIAN
          );
      }
docs: Returns the date time formatter.
  
  @return IntlDateFormatter