Changes between Version 13 and Version 14 of EpochFieldPlugin


Ignore:
Timestamp:
Aug 1, 2012, 8:07:04 AM (2 years ago)
Author:
rjollos
Comment:

Added page outline and syntax highlighting.

Legend:

Unmodified
Added
Removed
Modified
  • EpochFieldPlugin

    v13 v14  
     1[[PageOutline(2-5,Contents,pullout)]]
    12= Epoch (unix time) field, timezone sensitive =
    23
     
    56== Description ==
    67
    7 [[PageOutline]]
    88this plugin has two functionality: / 以下の二機能があります:
    99 1. [#field Timezone sensitive date&time field] / 時差を考慮した時刻フィールド
     
    2727specify '''format=epoch''' for the custom-field in trac.ini as follows(or use CustomFieldAdminPlugin): / trac.ini または CustomFieldAdminPlugin で、カスタムフィールドの format を epoch と指定します:
    2828{{{
     29#!ini
    2930[ticket-custom]
    3031due = text
     
    3839in trac.ini, specify field-names you want to translate from epoch to datetime-string in regular-expressions, as follows: / trac.ini で 日時表記したいカラム名を正規表現で指定して:
    3940{{{
     41#!ini
    4042[epochfield]
    4143date_columns = .*_date, .*日付?
     
    4648and, for example, report query as: / たとえば以下のようにSQLを書くと、
    4749{{{
     50#!sql
    4851select id, summary, ticket.time,
    4952    a.time as accepted_datetime,