Преглед изворни кода

Use ISO strings instead of of date type in locally resolved comments.

Paulo Reis пре 9 година
родитељ
комит
855d37289b

+ 1 - 1
services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee

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