Changes between Version 13 and Version 14 of EpochFieldPlugin
- Timestamp:
- Aug 1, 2012, 6:07:04 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EpochFieldPlugin
v13 v14 1 [[PageOutline(2-5,Contents,pullout)]] 1 2 = Epoch (unix time) field, timezone sensitive = 2 3 … … 5 6 == Description == 6 7 7 [[PageOutline]]8 8 this plugin has two functionality: / 以下の二機能があります: 9 9 1. [#field Timezone sensitive date&time field] / 時差を考慮した時刻フィールド … … 27 27 specify '''format=epoch''' for the custom-field in trac.ini as follows(or use CustomFieldAdminPlugin): / trac.ini または CustomFieldAdminPlugin で、カスタムフィールドの format を epoch と指定します: 28 28 {{{ 29 #!ini 29 30 [ticket-custom] 30 31 due = text … … 38 39 in trac.ini, specify field-names you want to translate from epoch to datetime-string in regular-expressions, as follows: / trac.ini で 日時表記したいカラム名を正規表現で指定して: 39 40 {{{ 41 #!ini 40 42 [epochfield] 41 43 date_columns = .*_date, .*日付? … … 46 48 and, for example, report query as: / たとえば以下のようにSQLを書くと、 47 49 {{{ 50 #!sql 48 51 select id, summary, ticket.time, 49 52 a.time as accepted_datetime,