Bug in time module ??? [solved]

For general discussion related FlowStone
Post Reply
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Bug in time module ??? [solved]

Post 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.
Attachments
resized it, its not ok but you can see
resized it, its not ok but you can see
time-bug.PNG (273.88 KiB) Viewed 12637 times
Last edited by jjs on Sun Feb 03, 2013 2:08 pm, edited 1 time in total.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Bug in time module ???

Post 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.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
jjs
Posts: 142
Joined: Thu Jun 09, 2011 12:15 pm

Re: Bug in time module ???

Post 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
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Bug in time module ???

Post by tester »

"most 650 pixels wide" limit vs "890 pixels wide" sieze.
Too wide. ;-)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply