Forum

Scripting bug: Erro...
 
Notifications
Clear all

Scripting bug: Error reading time value from global with custom formatting


(@trystan-williams)
Active Member Customer
Joined: 8 months ago
Posts: 10
Topic starter  

 

-Create new Global of type Time with name Mash Rest 1
-Set value to 30 minutes
-Read from script with

new time rest1
rest1 = "Mash Rest 1" value

Result -> OK

-Edit Global to use a custom format of mm:ss
-Re-run script

Result -> Error: Expected a Time type

 


Quote
(@pbruno3)
Reputable Member Admin
Joined: 5 years ago
Posts: 336
 

Just tested this, and it is indeed a bug! When changing the format, for some reason the value read by the script is changing too... the time shifts from minutes to seconds. Anything less than 24 works (24 hours) but over it issues an error.

 

Thanks for pointing it out... will add to list to fix. Can you use the default format for now?


ReplyQuote
(@trystan-williams)
Active Member Customer
Joined: 8 months ago
Posts: 10
Topic starter  

Yeah, it's mostly an aesthetic issue. Just caused some confusion for a few minutes 😉 


ReplyQuote
Share: