Joomler!.net - Decided on Joomla!

デル株式会社

Jboard is Multiple Board!

Home » Blog » gmdate
1 votes
Written by:Joomler! 3906 hits Friday, 04 January 2008 17:01

最新のリビジョンのJoomla!1.5RC4をエクスポートして、比較してみました。

とりあえず、記事の日時の問題は以下でクリアしそうです。

JoomlaRoot/libraries/joomla/utilities/date.php

$date = date("Y-m-d H:i:s", $this->_date);

$date = gmdate("Y-m-d H:i:s", $this->_date);

$date = strftime($format, $this->_date + ($this->_offset * 3600));

$date = gmstrftime($format, $this->_date + ($this->_offset * 3600));

へ 変更する。

Joomla!1.5 DemoをRC3からRC4に変更しました。手順は、先日テストサーバーで行ったのと全く同じで問題ありませんでした。VideoBarのデモのためにテンプレートに少し手を加えていたのを忘れていて消しちゃってから少しあわてましたが・・・。(全然バックアップせずに行っていた。)
少し違う点は、Demoとはいえ公開しているサイトなのでDemoRootにリダイレクトさせる.htaccessを設置してから行いました。


 
0 votes
Written by:Joomler! 3816 hits Monday, 31 December 2007 16:00

RC4の記事の日時の管理がどうもおかしい。

RC3と比較してみた。

ROOT/libraries/joomla/utilities/date.php

162行目と、188行目が変更になっている。

gmdate => date

gmstrftime => strftime

ここかなぁ・・

 

みなさん よいお年を!

 

JContentPlus for Joomla!1.5 powered by Joomler!.net

joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.