-fixed issue with unix pypo user not being assigned to groups

-fixed issue with time being incorrect if server was in different timezone
This commit is contained in:
martin 2011-01-31 16:34:08 -05:00
parent 7751ad7ac7
commit 755c5a8469
4 changed files with 6 additions and 10 deletions

View file

@ -72,9 +72,6 @@ function convertDateToHHMMSS(epochTime){
var hours = d.getUTCHours().toString();
var minutes = d.getUTCMinutes().toString();
var seconds = d.getUTCSeconds().toString();
//if (hours == "NaN")
//alert("epochTime: " + epochTime);
if (hours.length == 1)
hours = "0" + hours;

View file

@ -43,8 +43,6 @@ function getTrackInfo(song){
str += song.track_title;
if (song.artist_name != null)
str += " - " + song.artist_name;
//if (song.album_title != null)
//str += " - " + song.album_title;
str += ","
@ -188,6 +186,7 @@ function calcAdditionalData(currentItem, bUpdateGlobalValues){
function parseItems(obj){
var schedulePosixTime = convertDateToPosixTime(obj.schedulerTime);
schedulePosixTime += parseInt(obj.timezoneOffset)*1000;
$('#time-zone').text(obj.timezone);