cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [29/50] [abbrv] git commit: updated refs/heads/ui-mixed-zone-management to 5891f09
Date Tue, 16 Apr 2013 18:50:40 GMT
CLOUDSTACK-1898: Incorrect time conversion on UI under Events and Alerts


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

Branch: refs/heads/ui-mixed-zone-management
Commit: e22a86f57ae0202134022627fe8156218d46fdd9
Parents: abbc7ef
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Mon Apr 15 20:53:04 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Mon Apr 15 20:53:04 2013 +0530

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e22a86f5/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index 19e1611..7467531 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -325,7 +325,8 @@ cloudStack.converters = {
 	    if(g_timezoneoffset != null) 
 	      localDate = disconnected.getTimePlusTimezoneOffset(g_timezoneoffset);
 	    else 
-	      localDate = disconnected.getTimePlusTimezoneOffset(0);	 
+	      localDate = disconnected.toUTCString();
+             // localDate = disconnected.getTimePlusTimezoneOffset(0);	 
     }
 		return localDate; 		
 	},


Mime
View raw message