diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js index ac40c99ff1e..354ccef682c 100644 --- a/ui/scripts/configuration.js +++ b/ui/scripts/configuration.js @@ -287,7 +287,7 @@ tags: { label: 'Storage tags' }, hosttags: { label: 'Host tags' }, domain: { label: 'Domain' }, - created: { label: 'Created' } + created: { label: 'Created', converter: cloudStack.converters.toLocalDate } } ], @@ -583,7 +583,7 @@ tags: { label: 'Storage tags' }, hosttags: { label: 'Host tags' }, domain: { label: 'Domain' }, - created: { label: 'Created' } + created: { label: 'Created', converter: cloudStack.converters.toLocalDate } } ], diff --git a/ui/scripts/events.js b/ui/scripts/events.js index ab79a44e01a..1da09f543fe 100644 --- a/ui/scripts/events.js +++ b/ui/scripts/events.js @@ -22,7 +22,7 @@ type: { label: 'Type' }, description: { label: 'Description' }, username: { label: 'Initiated By' }, - created: { label: 'Date' } + created: { label: 'Date', converter: cloudStack.converters.toLocalDate } }, dataProvider: function(args) { $.ajax({ @@ -44,7 +44,7 @@ { type: { label: 'Type' }, description: { label: 'Description' }, - created: { label: 'Date' } + created: { label: 'Date', converter: cloudStack.converters.toLocalDate } } ], dataProvider: function(args) { @@ -61,10 +61,9 @@ listView: { id: 'alerts', label: 'Alerts', - fields: { - type: { label: 'Type' }, + fields: { description: { label: 'Description' }, - sent: { label: 'Date' } + sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } }, dataProvider: function(args) { $.ajax({ @@ -84,9 +83,9 @@ title: 'Details', fields: [ { - type: { label: 'Type' }, + id: { label: 'ID' }, description: { label: 'Description' }, - sent: { label: 'Date' } + sent: { label: 'Date', converter: cloudStack.converters.toLocalDate } } ], dataProvider: function(args) { diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index d2cf7cee192..64433e28884 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1053,7 +1053,7 @@ volumename: { label: 'Volume' }, state: { label: 'State', indicator: { 'BackedUp': 'on', 'Destroyed': 'off' } }, intervaltype: { label: 'Interval Type' }, - created: { label: 'Date' } + created: { label: 'Date', converter: cloudStack.converters.toLocalDate } }, actions: { diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 373d653d1e1..4b16f4f81f6 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -2015,7 +2015,7 @@ networkdomain: { label: 'Network domain' }, domain: { label: 'Domain' }, account: { label: 'Account' }, - created: { label: 'Created' }, + created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, isredundantrouter: { label: 'Redundant router', converter: cloudStack.converters.toBooleanText @@ -4139,7 +4139,7 @@ linklocalip: { label: 'Link local IP' }, hostname: { label: 'Host' }, gateway: { label: 'Gateway' }, - created: { label: 'Created' }, + created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, activeviewersessions: { label: 'Active sessions' } } ], @@ -5315,7 +5315,7 @@ linklocalip: { label: 'Link local IP' }, hostname: { label: 'Host' }, gateway: { label: 'Gateway' }, - created: { label: 'Created' }, + created: { label: 'Created', converter: cloudStack.converters.toLocalDate }, activeviewersessions: { label: 'Active sessions' } } ], diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index 7b66d424b66..9c876e5c367 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -800,7 +800,7 @@ domain: { label: 'Domain' }, account: { label: 'Account' }, - created: { label: 'Created' } + created: { label: 'Created', converter: cloudStack.converters.toLocalDate } } ], @@ -1486,7 +1486,7 @@ domain: { label: 'Domain' }, account: { label: 'Account' }, - created: { label: 'Created' } + created: { label: 'Created', converter: cloudStack.converters.toLocalDate } } ],