Changes between Version 9 and Version 10 of EpochFieldPlugin


Ignore:
Timestamp:
Apr 8, 2012 5:16:27 AM (2 years ago)
Author:
matobaa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EpochFieldPlugin

    v9 v10  
    2626== Example == 
    2727=== epoch field === #field 
    28 trac.ini (or use CustomFieldAdminPlugin): 
     28specify '''format=epoch''' for the custom-field in trac.ini as follows(or use CustomFieldAdminPlugin): 
    2929{{{ 
    3030[ticket-custom] 
     
    3737 
    3838=== epoch report === #report 
    39 in trac.ini: 
     39in trac.ini, specify field-names you want to translate from epoch to datetime-string in regular-expressions, as follows: 
    4040{{{ 
    4141[epochfield] 
     
    4444time_columns = .*_time, .*時刻 
    4545}}} 
    46 report query as: 
     46 
     47and, for example, report query as: 
    4748{{{ 
    4849select id, summary, ticket.time, 
     
    6263) AS c on (c.ticket = ticket.id and c.status = "closed") 
    6364}}} 
     65then the epoch field (status change time in above example) shows as datetime string. 
    6466[[Image(report.png)]] 
    6567