This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Template:Phabricator Task"

From cpt
No edit summary
No edit summary
Line 66: Line 66:
{{#set:Points={{{points|}}}}}
{{#set:Points={{{points|}}}}}
{{#set:Task Created Timestamp={{{dateCreated|}}}}}
{{#set:Task Created Timestamp={{{dateCreated|}}}}}
{{#set:Task Created Date={{#if:{{{dateCreated|}}}|{{#timel:Y/m/d h:i A|@{{{dateCreated|}}}}}}}
{{#set:Task Modified Timestamp={{{dateModified|}}}}}
{{#set:Task Modified Timestamp={{{dateModified|}}}}}
{{#set:Task Modified Date={{#if:{{{dateModified|}}}|{{#timel:Y/m/d h:i A|@{{{dateModified|}}}}}}}
{{#set:Task Closed Timestamp={{{dateClosed|}}}}}
{{#set:Task Closed Timestamp={{{dateClosed|}}}}}
{{#set:Task Closed Date={{#if:{{{dateClosed|}}}|{{#timel:Y/m/d h:i A|@{{{dateClosed|}}}}}}}
{{{author|}}}
{{{author|}}}
{{{owner|}}}
{{{owner|}}}

Revision as of 15:10, 27 November 2019