Page 1 of 1

Bug in time module ??? [solved]

Posted: Sat Feb 02, 2013 8:19 pm
by jjs
Hi there!

Anyone knows something about the time module not always giving the decimal minutes?
I mean if the time is 17:25 the module gives 17:5 this is not always but it does occur often and on several pc's.
The time is manual asked by push of a trigger
same with FS 3.00 as FS 3.01.

thanks for any help. see pic please.

nb **** what is this sh*tty anouncement??? what does it matter what the size of pic is...***
this--->The image must be at least 0 pixels wide, 0 pixels high and at most 650 pixels wide and 1000 pixels high. The submitted image is 890 pixels wide and 375 pixels high.

Re: Bug in time module ???

Posted: Sat Feb 02, 2013 8:35 pm
by tester
Time module is fine, your arrangement - not.

Seconds are sent as number (integer), that why you don't get "0", like "01". You need to add some detector, whether number is 1-digt or 2-digts, and depending on result - "0" would be placed before number (keep links order), when sending it to the string.

I guess someone places the example before I finish.

Re: Bug in time module ???

Posted: Sat Feb 02, 2013 8:41 pm
by jjs
tester wrote:Time module is fine, your arrangement - not.

Seconds are sent as number (integer), that why you don't get "0", like "01". You need to add some detector, whether number is 1-digt or 2-digts, and depending on result - "0" would be placed before number (keep links order), when sending it to the string.

I guess someone places the example before I finish.


maybe you're right, i will make a detector if the first digit is of the minutes is 0

edit* ok got it thanks, added a selctor who ads a 0 when the minutes are less then 10

Re: Bug in time module ???

Posted: Sat Feb 02, 2013 9:16 pm
by tester
"most 650 pixels wide" limit vs "890 pixels wide" sieze.
Too wide. ;-)