fix(Generator): Fix mindate variable no longer existing breaking the opens/close time