Changes for dat and time format

Impression bug when some i18n missing in impressionable object
JS bug in ad_banner edit title
This commit is contained in:
Christophe Vilayphiou committed 2012-05-18 19:42:36 +08:00
1 parent e1bd5d8c8d
commit 4d33c7a56d
24 files changed
+57 -46

No files matched your search

@@ -69,10 +69,10 @@ class WebLink
protected
def set_key
if name.new_record?
if name && name.new_record?
name.key = 'name'
end
if context.new_record?
if context && context.new_record?
context.key = 'context'
end
end
@@ -13,7 +13,7 @@
</li>
<li>
<b><%= t('announcement.postdate') %></b>
<%= @bulletin.postdate %>
<%= display_date(@bulletin.postdate) %>
</li>
<li>
<b><%= t('announcement.title') %></b>
@@ -50,7 +50,7 @@
</li>
<li>
<b><%= t('announcement.最後修改時間') %></b>
<%= @bulletin.updated_at %>
<%= display_date(@bulletin.updated_at) %>
</li>
@@ -13,7 +13,7 @@
</li>
<li>
<b><%= t('announcement.postdate') %></b>
<%= @bulletin.postdate %>
<%= display_date(@bulletin.postdate) %>
</li>
<li>
<b><%= t('announcement.title') %></b>
@@ -50,7 +50,7 @@
</li>
<li>
<b><%= t('announcement.最後修改時間') %></b>
<%= @bulletin.updated_at.strftime("%Y-%m-%d %H:%I:%S") %>
<%= display_date_time(@bulletin.updated_at) %>
</li>