1.1 --- a/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt Thu Nov 19 09:35:29 2009 +0100
1.2 +++ b/freemarkerdor/src/main/resources/cz/xelfi/quoridor/freemarkerdor/UI/index.fmt Tue Dec 08 23:56:20 2009 +0100
1.3 @@ -44,17 +44,17 @@
1.4 <h1>${bundle.TITLE}</h1>
1.5
1.6 <#macro before t>
1.7 - <#assign seconds = (t / 1000)?int/>
1.8 - <#assign minutes= (seconds / 60)?int/>
1.9 - <#assign hours= (minutes / 60)?int/>
1.10 - <#assign days= (hours / 24)?int/>
1.11 + <#assign seconds = (t / 1000)?long/>
1.12 + <#assign minutes= (seconds / 60)?long/>
1.13 + <#assign hours= (minutes / 60)?long/>
1.14 + <#assign days= (hours / 24)?long/>
1.15 <!--millis: ${t}, seconds: ${seconds}, minutes: ${minutes} hours: ${hours}, days: ${days} -->
1.16 ${bundle("LastMove", t?int, seconds?int, minutes?int, hours?int, days?int)}
1.17 </#macro>
1.18
1.19 <#macro game game>
1.20 ${bundle("gameWhiteBlack", game.@white?string, game.@black?string)}
1.21 - <a href="/games/${game.@id}/"><@before (now - game.@modified?number)?int/></a>
1.22 + <a href="/games/${game.@id}/"><@before (now - game.@modified?number)?long/></a>
1.23 <#if game.@comments?number != 0>
1.24 ${bundle("comments", game.@comments?number)}
1.25 </#if>
1.26 @@ -187,4 +187,4 @@
1.27 <hr/>
1.28 ${bundle("copyright", version)}
1.29 </body>
1.30 -</html>
1.31 \ No newline at end of file
1.32 +</html>