You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/16 20:04:05 UTC

[32/50] [abbrv] git commit: updated refs/heads/ui-new-project-switcher to a748988

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-new-project-switcher
Commit: e22a86f57ae0202134022627fe8156218d46fdd9
Parents: abbc7ef
Author: Pranav Saxena <pr...@citrix.com>
Authored: Mon Apr 15 20:53:04 2013 +0530
Committer: Pranav Saxena <pr...@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; 		
 	},