Time format for communication

Acronym
time-format
Belongs to
SIG
Responsible
Philipp Schmeier
History
(v1)   2021-11-08 - created draft

Why is there need for such a decision?

Time formats and information can appear in many places in the system (e.g. via events). The complexity of the player services in the hackathon should be reduced. It is therefore appropriate to standardise communicated date formats across the system landscape.

Additional sources for better understanding the background

Wikipedia: ISO-8601

Viable Options

Alternatives not seriously considered

-

How is this decision evaluated?

-

Resolution Details

All dates exposed via APIs or events are recorded in UTC in the following format:

yyyy-MM-dd'T'HH:mm:ss'Z' –> 2007-12-24T18:21:03Z

Reasons for the resolution

The decision is based on Rewe Digital’s findings from a presentation in FAE (WS2019). In a nutshell: To avoid misunderstandings due to different systems, time zones, etc., each communicated time is specified in standard UTC. Each client/service can then adapt and convert this for its own purposes.