OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9924a1e
)
FIX: AdminActions::parse_date()が不要なBlogオブジェクトをコンストラクトしていたのを修正
author
sakamocchi
<o-takashi@sakamocchi.jp>
Sun, 20 May 2012 14:23:41 +0000
(23:23 +0900)
committer
sakamocchi
<o-takashi@sakamocchi.jp>
Sun, 20 May 2012 14:23:41 +0000
(23:23 +0900)
ウェブログではなく、管理画面のロケールに従う必要があるが、未実装。
nucleus/libs/AdminActions.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/AdminActions.php
b/nucleus/libs/AdminActions.php
index
fb3cd3c
..
5aa0fd9
100644
(file)
--- a/
nucleus/libs/AdminActions.php
+++ b/
nucleus/libs/AdminActions.php
@@
-2217,7
+2217,8
@@
class AdminActions extends BaseActions
public function parse_date($format = 'c')
{
global $CONF, $manager;
- echo i18n::formatted_datetime($format, time(), 'iso8601', $manager->getBlog((integer) $CONF['DefaultBlog']));
+ /* TODO: offset is based on i18n::get_current_locale()? */
+ echo i18n::formatted_datetime($format, time());
return;
}