このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 3 / 昨日: 3
総計: 82
- Dokuwiki.fl8.jp(94)
- DokuWiki(17)
- インデックスメニューの設定(14)
- FreeBSD カーネル再構築(13)
- 01 Galera構築(13)
- 13 CentOS6メール設定(12)
最近の更新
このページへのアクセス
今日: 3 / 昨日: 3
総計: 82
このような感じでフォームを作成した場合など、ちゃんと「date_default_timezone_set('Asia/Tokyo');」など設定してないとエラーがでます。
$form = $app['form.factory']->createBuilder('form', $data) ->add('run_time', 'date', array( 'widget' => 'single_text', 'input' => 'string', ->getForm(); )
Exception: DateTime::__construct(): It is not safe to rely on the system's timezone settings.
You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead