rclone/backend/jottacloud
albertony 4829527dac jottacloud: refactor timestamp handling
Jottacloud have several different apis and endpoints using a mix of different
timestamp formats. In existing code the list operation (after the recent liststream
implementation) uses format from golang's time.RFC3339 constant. Uploads (using the
allocate api) uses format from a hard coded constant with value identical to golang's
time.RFC3339. And then we have the classic JFS time format, which is similar to RFC3339
but not identical, using a different constant. Also the naming is a bit confusing,
since the term api is used both as a generic term and also as a reference to the
newer format used in the api subdomain where the allocate endpoint is located.
This commit refactors these things a bit.
2022-04-27 13:41:39 +02:00
..
api jottacloud: refactor timestamp handling 2022-04-27 13:41:39 +02:00
jottacloud_internal_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
jottacloud_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
jottacloud.go jottacloud: refactor timestamp handling 2022-04-27 13:41:39 +02:00