title: Primefaces extensions timer
body: <p>I'm trying to make primefaces extentions countdown timer in format something like this:</p>
  
  <p><strong><em>Time remaning: 3 days, 01 : 15 : 22</em></strong> </p>
  
  <p>So i added pe:timer component and set format like this:</p>
  
  <pre><code>&lt;pe:timer id="time_remaning" timeout="800" format="DDD [days,] HH:mm:ss" immediate="true"/&gt;
  </code></pre>
  
  <p>But its not working as expected. I'm getting: 
  <strong><em>1 days, 00 : 13 : 20</em></strong></p>
  
  <p>but "days" part of timeout should be 0 and not 1. Do i have error in my formater? I got formater parameters from <a href="http://momentjs.com/docs/#/displaying/format/" rel="nofollow noreferrer">here</a> as decribed in documentation.</p>
  
  <p>Or do I need to use custom formatFunction for this example or is there a way to do this just with formater?</p>