You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by dm...@apache.org on 2017/10/20 21:51:52 UTC

aurora git commit: Display cron time as UTC

Repository: aurora
Updated Branches:
  refs/heads/master 9a398f022 -> df428801e


Display cron time as UTC

Reviewed at https://reviews.apache.org/r/63187/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/df428801
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/df428801
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/df428801

Branch: refs/heads/master
Commit: df428801edb5fcd7c042732a59e3e60a304a40b0
Parents: 9a398f0
Author: David McLaughlin <da...@dmclaughlin.com>
Authored: Fri Oct 20 14:51:42 2017 -0700
Committer: David McLaughlin <da...@dmclaughlin.com>
Committed: Fri Oct 20 14:51:42 2017 -0700

----------------------------------------------------------------------
 ui/src/main/js/components/TaskConfigSummary.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/df428801/ui/src/main/js/components/TaskConfigSummary.js
----------------------------------------------------------------------
diff --git a/ui/src/main/js/components/TaskConfigSummary.js b/ui/src/main/js/components/TaskConfigSummary.js
index 7334d0e..b1cf5a9 100644
--- a/ui/src/main/js/components/TaskConfigSummary.js
+++ b/ui/src/main/js/components/TaskConfigSummary.js
@@ -71,7 +71,7 @@ export function CronConfigSummary({ cronJob }) {
       <tr>
         <th>Next Cron Run</th>
         <td colSpan='2'>
-          {moment(cronJob.nextCronRunMs).format('MMMM Do YYYY, h:mm:ss a')} UTC (
+          {moment(cronJob.nextCronRunMs).utc().format('MMMM Do YYYY, h:mm:ss a')} UTC (
           <RelativeTime ts={cronJob.nextCronRunMs} />)
         </td>
       </tr>