Merge pull request #472 from sharelatex/pr-fix-resolved-comments-order

Use ISO strings instead of of date type in locally resolved comments.
This commit is contained in:
James Allen 2017-04-03 14:03:25 +01:00 committed by GitHub
commit 8161b0ff1e

View file

@ -414,7 +414,7 @@ define [
return if !thread?
thread.resolved = true
thread.resolved_by_user = formatUser(user)
thread.resolved_at = new Date()
thread.resolved_at = new Date().toISOString()
$scope.reviewPanel.resolvedThreadIds[thread_id] = true
$scope.$broadcast "comment:resolve_threads", [thread_id]