Different result in local to test

0
Hello,   I am a bit confused.   We have a function where the number of working days in a month is worked out. The correct number is being worked out on my local but in test for 6 of the months in the year it is wrong by one day. I have just deployed to test and it is still incorrect on test.   Why would it work out a different answer on test to local when it has just been deployed?   This is my local which is correct   This is test, which is incorrect.     Is there a way how I can find out why it is coming up with a different answer?   Thanks   Jess  
asked
3 answers
0

Hi Jessica,

Did you try debugging the microflow remotely?

answered
0

Hi,

 

So I debugged on both test and local looking at working days in June.

 

Still confused, all seems the same except Working Days Including Date, which is a Java action, picks up 20 days on local and 21 days on test, snippets below.

 

Local

 

image.png

 

Test

 

image.png

 

Can anyone advise why it would pick up a different number on local to test for the same month? or guide me what to look at next?

 

Thanks so much

 

Jess

answered
0

Hey Jessica,

Mendix date and Time attributes have two types, Localized and Non-Localized,

Pls refer to the image,

image.png

Please check whether the attribute is localized or non-localized

answered