You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/14 19:26:34 UTC
[39/50] couch-replicator commit: updated refs/heads/63012-scheduler
to 27a5eae
Fix ISO8601 timestamp formatting
`2017-01-16T11-38-04Z` is now `2017-01-16T11:38:04Z`
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/8746e715
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/8746e715
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/8746e715
Branch: refs/heads/63012-scheduler
Commit: 8746e7158d54d21f7fe0c722c22d116ec9a034e1
Parents: 146b700
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Mon Jan 23 10:34:36 2017 -0500
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Mon Jan 23 10:34:36 2017 -0500
----------------------------------------------------------------------
src/couch_replicator_utils.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/8746e715/src/couch_replicator_utils.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_utils.erl b/src/couch_replicator_utils.erl
index 4ab4f81..3fd98a3 100644
--- a/src/couch_replicator_utils.erl
+++ b/src/couch_replicator_utils.erl
@@ -141,5 +141,5 @@ parse_rep_doc(Props, UserCtx) ->
-spec iso8601(erlang:timestamp()) -> binary().
iso8601({_Mega, _Sec, _Micro} = Timestamp) ->
{{Y, Mon, D}, {H, Min, S}} = calendar:now_to_universal_time(Timestamp),
- Format = "~B-~2..0B-~2..0BT~2..0B-~2..0B-~2..0BZ",
+ Format = "~B-~2..0B-~2..0BT~2..0B:~2..0B:~2..0BZ",
iolist_to_binary(io_lib:format(Format, [Y, Mon, D, H, Min, S])).