Skip to content

Time passed to startTimeOfDay must be UTC #113

@almegeddon

Description

@almegeddon

Sample code from AwsRequester.java inaccurately prescribes Pacific Date/Time values here:

/** * Specify times below using US Pacific Time Zone. */ private static final String START_DATE = "YYYY-MM-DD"; private static final String START_TIME = "HH:MM:SS"; 

This bit us when setting up a transfer job recently. Browsing the Schedule source you can see UTC should be passed:

/** * The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start * later than this time. If not specified, transfers are scheduled to start at midnight UTC. * @param startTimeOfDay startTimeOfDay or {@code null} for none */ public Schedule setStartTimeOfDay(TimeOfDay startTimeOfDay) 

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions