[PR]
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
16,21d15
< # Get Name of all known users
< self.db = self.env.get_db_cnx()
< self.name_map = {}
< for username, name, email in self.env.get_known_users(self.db):
< if name:
< self.name_map[username] = name
296,298c290,292
< col = col != None and format_time(t=int(col), format='%H:%M:%S') or '--'
< if column in ('date', 'created', 'modified') or column.endswith(u'日付') or column.endswith(u'日'):
< col = col != None and format_date(t=int(col), format='%Y/%m/%d') or '--'
---
> col = col != None and format_time(int(col)) or '--'
> if column in ('date', 'created', 'modified') or column.endswith(u'日付'):
> col = col != None and format_date(int(col)) or '--'
300c294
< col = col != None and format_datetime(t=int(col), format='%Y/%m/%d %H:%M:%S') or '--'
---
> col = col != None and format_datetime(int(col)) or '--'
302,306d295
< if column == 'owner' or column == u'担当者':
< col = col != None and self.name_map[col] or '--'
< if column == 'reporter' or column == u'報告者':
< col = col != None and self.name_map[col] or '--'
<