Jan 07
Jolle Carlestam Weird date week error Lasso 9
Jan 07, 2015; 10:23
Jolle Carlestam
Weird date week error Lasso 9
I=92m struggling with a weird error that I only get on one machine. I have tested on three different machines all running 9.2 but get different results.
Here=92s code:
local(mydate =date('2015-01-07 00:00:00'))
#mydate -> week
'\n'
#mydate
'\n'
date -> week
On my local test machine OSX Mavericks running 9.2.7 I get
2
2015-01-07 00:00:00
2
(Correct)
On a Centos 5 machine running 9.2.5 (I think) I get
2
2015-01-07T00:00:00
2
(Yes, I don=92t know what that T does there. But that=92s not the problem.)
On the trouble machine, Centos 6 running 9.2.7 I get
1
2015-01-07 00:00:00
1
Here=92s my issue. Why does this machine consider the week to be 1? When the correct answer is 2, as given by the other machines.
To add noice to the confusion. If I run this on the CLI on the faulty Centos machine:
lasso9 -s "date -> week=94
I get
2
?!? Same machine gives me different answers depending on where I ask. I can confirm that this is not related to a specific instanced. I have three instances running on the machine and the error is there regardless of instance..This has me very confused, and clients irritated since this is a production server.
Any clues out there?
HDB
Jolle
#############################################################
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>
Jan 07
Bil Corry Re: Weird date week error Lasso 9
Jan 07, 2015; 10:44
Bil Corry
Re: Weird date week error Lasso 9
Jan 07
Jolle Carlestam Re: Weird date week error Lasso 9
Jan 07, 2015; 10:56
Jolle Carlestam
Re: Weird date week error Lasso 9
Jan 07
Jolle Carlestam Re: Weird date week error Lasso 9
Jan 07, 2015; 11:03
Jolle Carlestam
Re: Weird date week error Lasso 9
Jan 07
Bil Corry Re: Weird date week error Lasso 9
Jan 07, 2015; 11:13
Bil Corry
Re: Weird date week error Lasso 9
Jan 07
Jolle Carlestam Re: Weird date week error Lasso 9
Jan 07, 2015; 11:35
Jolle Carlestam
Re: Weird date week error Lasso 9
Jan 07
Bil Corry Re: Weird date week error Lasso 9
Jan 07, 2015; 11:44
Bil Corry
Re: Weird date week error Lasso 9
Jan 07
Jolle Carlestam Re: Weird date week error Lasso 9
Jan 07, 2015; 11:48
Jolle Carlestam
Re: Weird date week error Lasso 9
Jan 07
Marc Vos Re: Weird date week error Lasso 9
Jan 07, 2015; 12:01
Marc Vos
Re: Weird date week error Lasso 9
Jan 07
Jolle Carlestam Re: Weird date week error Lasso 9
Jan 07, 2015; 12:26
Jolle Carlestam
Re: Weird date week error Lasso 9