Register  Login  
  February 9, 2012  
Forum    
Forum Minimize
 
ForumForumDiscussionsDiscussionsT-MinusT-MinusBad months count after eventBad months count after event
Previous Previous
 
Next Next
New Post
 9/21/2008 4:44 PM
 

Is a good module, but the past the event does not show the correct months number. One day after the start date It already counts one month,  but it should be zero! Can You fix this please?

Regards

New Post
 9/20/2010 6:23 PM
 
 Modified By JDV  on 9/20/2010 2:25:17 PM

Using v5.0, I get the same problem. Even if an event stopped earlier today, TMinus will display "1 month, XX hours".....
UTC Dates checkbox doesn't seem to affect this.

I'm able to get the correct interval by removing the display of months which then displays the correct number of days (or hours), but correctly displaying the months would be nice.

New Post
 9/21/2010 11:54 PM
 

The issue with months exists in the Java-Script TMINUS.JS that generates the countdown string.

As T-Minus as my first module for DNN - TMinus.js is the first bit of Java-script programming I had / have attempted. So I am not surprised there is an issue. But of interest, you are the second one to mention in 6+ years.

I have placed an un-compacted version of the script in the free TMinus downloads. Please take a look and let me know where I went wrong. Please be kind as this was a first attempt.

Paul.

Previous Previous
 
Next Next
ForumForumDiscussionsDiscussionsT-MinusT-MinusBad months count after eventBad months count after event

Print  

  Home | Blog | Forum | Subscriptions | Free Modules | Videos   Page generated in 0.140976 seconds.
  Copyright 2010 by TressleWorks   Terms Of Use | Privacy Statement