SmartBear Connect 2018
Join us at SmartBear Connect 2018 on October 29th & 30th in Boston, MA.
Apply to speak and share your experience with the greater SmartBear Community
Occasional Contributor

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:


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.