OpenSource-Tools / LiquidVoting

1 stars 0 forks source link

Implement Moment.js where time is displayed #1

Closed kvdmolen closed 9 years ago

kvdmolen commented 9 years ago

The time-left in a phase of for example a Resolution are currently static.

Please include moment.js (or comparable) to have a live-countdown.

kvdmolen commented 9 years ago
nktc commented 9 years ago

This is done. I implemented this using: http://hilios.github.io/jQuery.countdown/

To do this I had to create a model field:

  selector:add_field("to_char(created+admission_time, 'YYYY-MM-DD HH24:MI:SS')", "end_time")

It would be good if you could verify that created+admission_time is the correct end date.