travello-gmbh / amazon-alexa-skill-library

DEPRECATED PHP Library for Amazon Alexa Skills
12 stars 1 forks source link

Bug when other timestamp format is sent with service request #7

Closed RalfEggert closed 7 years ago

RalfEggert commented 7 years ago

When working at a new Skill, I got a service request sent by the service simulator with a different timestamp format:

"request": {
    "requestId": "EdwRequestId.ea1f77ad-b269-4b61-b606-f77f65c012b0",
    "locale": "de-DE",
    "type": "LaunchRequest",
    "timestamp": 1501507326551
},

The normal format is 2017-01-26T20:38:55Z for example. To keep users from frustrating debugging this "unnormal" format should be handled.