• I have a countdown set for 29th of April. Today (28th of February) I noticed something strange. It looks like the remaining time is 2 months, -1 day and etc.

    I am using the following format oDHMS in the compact mode so it looked like this: 2 м. -1 д. 05:54:26.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zourbuth

    (@zourbuth)

    Hi. Use lowercase or uppercase to always shows or hide if number is zero.

    Thread Starter ShaMan-H_Fel

    (@shaman-h_fel)

    That is not the problem. The remaining time should be 2 months, 0 days, 5 hours and change. While the time is showing 2 months *-1 day* and change. I want to always show the days, even if they are 0, but -1 is not zero. And at that time there are still 2 months left on the countdown.

    The formatter seems to work fine, but the time calculation has a bug – the result is that a -1 for days is shown.

    Plugin Author zourbuth

    (@zourbuth)

    I’ll check and update it very soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Negative value for days’ is closed to new replies.