mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-06 04:58:26 +00:00
Use GMT time zone for date formatter
This commit is contained in:
parent
75231805ec
commit
3219161dd3
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ import java.util.*;
|
|||
abstract class QueryParameterBuilder implements ApiPathBuilder.BuildsParameters {
|
||||
public static final String W3C_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
||||
static final SimpleDateFormat format = new SimpleDateFormat(W3C_DATE_FORMAT);
|
||||
static {
|
||||
format.setTimeZone(TimeZone.getTimeZone("GMT"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a value to the builder for a given key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue