Skip to content
Commit 99e8b983 authored by Jeremy Kerr's avatar Jeremy Kerr Committed by ManojKiran Eda
Browse files

tools: fw-update: allow ISO 8610 date formats



Currently, the ReleaseDateTime data is expected to be in a
"%d/%m/%Y %H:%M:%S" format.

However, this is ambiguous (ie., is locale-specific).

This change adds supoort to allow an ISO 8601 format of:

 "%Y-%m-%dT%H:%M:%S"

and a relaxed version with the 'T' separator replaced with a space:

 "%Y-%m-%d %H:%M:%S"

Update the readme and example json to switch to the preferred format.

Signed-off-by: default avatarJeremy Kerr <jk@codeconstruct.com.au>
Change-Id: Ica3ae824979df6b666b8abb619ceaedffd90b374
parent b1475015
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment