liquid_feedback_frontend
changeset 99:ae5fbdbc1758 beta28
Fixed hard error in initiative API
author | bsw |
---|---|
date | Tue Aug 31 17:38:36 2010 +0200 (2010-08-31) |
parents | 227f3e98bdde |
children | 90c16be9731a |
files | app/main/api/initiative.lua |
line diff
1.1 --- a/app/main/api/initiative.lua Mon Aug 30 21:56:38 2010 +0200 1.2 +++ b/app/main/api/initiative.lua Tue Aug 31 17:38:36 2010 +0200 1.3 @@ -158,14 +158,14 @@ 1.4 name = "created", 1.5 field = "initiative.created", 1.6 func = function(record) 1.7 - return format.timestamp(record.created) 1.8 + return format_timestamp(record.created) 1.9 end 1.10 }, 1.11 { 1.12 name = "revoked", 1.13 field = "initiative.revoked", 1.14 func = function(record) 1.15 - return format.timestamp(record.revoked) 1.16 + return format_timestamp(record.revoked) 1.17 end 1.18 }, 1.19 { name = "suggested_initiative_id", field = "initiative.suggested_initiative_id" }, 1.20 @@ -186,7 +186,7 @@ 1.21 { 1.22 name = "current_draft_created", 1.23 func = function(record) 1.24 - return format.timestamp(record.current_draft.created) 1.25 + return format_timestamp(record.current_draft.created) 1.26 end 1.27 }, 1.28 {