Changes between Version 16 and Version 17 of EpochFieldPlugin
- Timestamp:
- Mar 6, 2015, 11:02:19 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
EpochFieldPlugin
v16 v17 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Epoch (unix time) field, timezone sensitive =3 2 4 NOTE: in this page, after slashes, described in japanese-KANJI. 3 = Epoch (unix time) field, timezone sensitive 4 5 '''Note''': in this page, after slashes, descriptions in japanese-KANJI are added. 5 6 6 7 '''This plugin will conflict in Trac 1.1.1. see trac:wiki:/TracDev/Proposals/TracTicketsCustomTimeFields and trac:ticket:1942. ''' 7 8 8 == Description ==9 == Description 9 10 10 this plugin has two functionality: / 以下の二機能があります:11 1. [#field Timezone sensitive date&time field ] / 時差を考慮した時刻フィールド12 2. [#report date&time presentation in report] / 時差を考慮したレポート表示11 This plugin adds the following features: / 以下の二機能があります: 12 1. [#field Timezone sensitive date&time field.] / 時差を考慮した時刻フィールド 13 2. [#report Date & time presentation in report.] / 時差を考慮したレポート表示 13 14 14 == Bugs/Feature Requests ==15 == Bugs/Feature Requests 15 16 16 17 Existing bugs and feature requests for EpochFieldPlugin are 17 18 [report:9?COMPONENT=EpochFieldPlugin here].[[BR]] 19 18 20 If you have any issues, create a 19 21 [http://trac-hacks.org/newticket?component=EpochFieldPlugin&owner=matobaa new ticket]. / 不具合報告は[http://trac-hacks.org/newticket?component=EpochFieldPlugin&owner=matobaa こちら]へ。 20 22 21 == Get A Plugin or Source == 23 [[TicketQuery(component=EpochFieldPlugin,group=type,format=progress)]] 24 25 == Get A Plugin or Source 22 26 23 27 Download the zipped source from [download:epochfieldplugin here].[[BR]] … … 25 29 入手は[download:epochfieldplugin zip], [http://trac-hacks.org/svn/epochfieldplugin Subversion], [source:epochfieldplugin Trac]でどうぞ。 26 30 27 == Example / 例 == 28 === epoch field === #field 29 specify '''format=epoch''' for the custom-field in trac.ini as follows(or use CustomFieldAdminPlugin): / trac.ini または CustomFieldAdminPlugin で、カスタムフィールドの format を epoch と指定します: 31 == Example / 例 32 33 === Epoch field === #field 34 35 Specify '''format=epoch''' for the custom-field in trac.ini as follows or use CustomFieldAdminPlugin: / trac.ini または CustomFieldAdminPlugin で、カスタムフィールドの format を epoch と指定します: 30 36 {{{ 31 37 #!ini … … 34 40 due.format = epoch 35 41 }}} 36 this plugin uses [http://keith-wood.name/datetimeEntry.html jquery.datetimeentry.js]. Ctrl-Home to current datetime. / Ctrl-Home で現在日時を入力できます。 42 43 This plugin uses [http://keith-wood.name/datetimeEntry.html jquery.datetimeentry.js]. Ctrl-Home to current datetime. / Ctrl-Home で現在日時を入力できます。 37 44 38 45 [[Image(ticket.png)]] 39 46 40 === epoch report === #report 41 in trac.ini, specify field-names you want to translate from epoch to datetime-string in regular-expressions, as follows: / trac.ini で 日時表記したいカラム名を正規表現で指定して: 47 === Epoch report === #report 48 49 In trac.ini specify field-names you want to translate from epoch to datetime-string in regular-expressions as follows: / trac.ini で 日時表記したいカラム名を正規表現で指定して: 42 50 {{{ 43 51 #!ini … … 48 56 }}} 49 57 50 and, for example, report query as: / たとえば以下のようにSQLを書くと、58 And, for example, create a report query as follows: / たとえば以下のようにSQLを書くと、 51 59 {{{ 52 60 #!sql … … 67 75 ) AS c on (c.ticket = ticket.id and c.status = 'closed') 68 76 }}} 69 then the epoch columns (status change time in above example) shows as datetime string. / 更新日時といった列を unixtime ではなく日付文字列で表示します。 77 78 Then the epoch columns, such as the status change time in the example above, shows as datetime string. / 更新日時といった列を unixtime ではなく日付文字列で表示します。 70 79 71 80 [[Image(report.png)]] 72 81 73 == Recent Changes ==82 == Recent Changes 74 83 75 84 [[ChangeLog(epochfieldplugin, 3)]] 76 85 77 == Author/Contributors ==86 == Author/Contributors 78 87 79 88 '''Author:''' [wiki:matobaa] [[BR]] 80 '''Maintainer:''' [ wiki:matobaa] [[BR]]89 '''Maintainer:''' [[Maintainer]] [[BR]] 81 90 '''Contributors:'''