Apr 02, 2014; 13:41
Johan Solve
Lasso 9 Duration issues
FYI, I just filed two bugs about the duration type.
First, duration arithmetics don't work.
http://www.lassosoft.com/rhinotrac?id=7746
duration('12:30:00') - duration('11:46:00')
Error Msg: Definition Not Found: duration->-(duration) in Lasso 9.
Works fine in Lasso 8.
Workaround:
duration(-second = duration('12:30:00')->second -
duration('11:46:00')->second)
Second, duration parses a string differently than in 8.
http://www.lassosoft.com/rhinotrac?id=7745
In Lasso 9:
duration('12:30')
returns 00:12:30
In Lasso 8
duration('12:30')
returns 12:30:00
Strangely, date parses the same string properly in Lasso 9:
date('12:30')->format('%T')
returns 12:30:00
--
Mvh
Johan S=F6lve
____________________________________
Montania System AB
Halmstad Stockholm
http://www.montania.se
Johan S=F6lve
Mobil +46 709-51 55 70
johan@montania.se
Kristinebergsv=E4gen 17, S-302 41 Halmstad, Sweden
Telefon +46 35-136800 | Fax +46 35-136801
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Apr 02, 2014; 13:56
Johan Solve
Re: Lasso 9 Duration issues