Forum

Scripting bug: Erro...
 
Notifications
Clear all

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

3 Posts
2 Users
0 Likes
646 Views
(@trystan-williams)
Member
Joined: 2 years 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: 7 years ago
Posts: 343
 

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)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

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


   
ReplyQuote
Share: