davisp commented on a change in pull request #2666: [WIP] soft-deletion for 
database
URL: https://github.com/apache/couchdb/pull/2666#discussion_r396602850
 
 

 ##########
 File path: src/fabric/src/fabric2_util.erl
 ##########
 @@ -345,3 +347,16 @@ pmap_exec(Fun, Arg) ->
     end.
 
 -endif.
+
+
+iso8601_timestamp() ->
+    Now = os:timestamp(),
+    {{Year, Month, Date}, {Hour, Minute,
+        Second}} = calendar:now_to_datetime(Now),
 
 Review comment:
   Minor nit:
   
   ```erlang
   {{Year, Month, Date}, {Hour, Minute, Second}} =
           calendar:now_to_datetime(Now),
   ```
   
   I forget the words but having line breaks around operators is usually more 
readable when possible.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to