mirror of https://github.com/apache/cloudstack.git
It does it by reusing the DateUtil helpers. DateUtil uses java.time.* as that one knows how to deal with timezones correctly. The format expected by signatureVersion=3&expires=.... is quite limited. It should accept the following formats that are containing a timezone and/or milliseconds. 2018-10-01T08:12:14Z 2018-10-01T08:12:14+01:00 2018-10-01T08:12:14+0100 2018-10-01T08:12:14.000Z 2018-10-01T08:12:14.000+01:00 2018-10-01T08:12:14.000+0100 afaik only 2018-10-01T08:12:14+0100 is accepted by the current codebase. This PR echoes other pull requests I made earlier this year. #2392 and #2867 Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch> |
||
|---|---|---|
| .. | ||
| bindir | ||
| conf | ||
| src | ||
| pom.xml | ||