kenm
7 years agoContributor
Why is my Custom String %DATE generation leading to unparseable date failure on US machine
Hey SmartBear community,
Hoping someone can help me out. I'm using Data Generator with a Custom String with the following value:
%TIME("01/01/2019 00:00:00 GMT","31/12/2022 10:11:12 GMT","yyyy-MM-dd HH:mm:ssZ",false,1,1,1,1)
This generates dates in my required format as expected when I run it on my local machine:
e.g.
2019-04-11 19:49:02+0100
2022-04-23 21:45:11+0100
2019-10-21 00:21:29+0100
However when our build agent, which is US based, runs the tests I'm getting an error:
Unparseable date: "01/01/2019 00:00:00 GMT
Can anyone shed any light here? All help appreciated.
Thanks in advance.