나는 일반적인 경우에 대한 문제를 해결하지 못했습니다. 간단히 말해 현재 시간대와 이전 시간에 표시 할 시간을 표시했습니다. 내 경우, 현재 시간대는 미국 산악 시간이며 이전 시간은 미국 태평양 시간으로 끝납니다. 썬더 버드가 실행되지 않은 상태에서

다음 jar 파일의 파일 편집해야합니다.
C : \ 사용자 \ nreynold.ORADEV \의 AppData \ 로밍 \ 썬더 버드 \ 프로필 프로필 \ \ 확장 \ {e2fda1a4-762b-4020-b5ad-a41df1933103} \ chrome.jar
주석으로 표시된 바와 같이 변경해야합니다 makeTimeBox()
방법 :
function makeTimeBox(timestr, time2str, size) { // Add time2str parameter
var box = createXULElement("box");
box.setAttribute("orient", orient);
box.setAttribute("align", "left"); // Add
if (orient == "horizontal") {
box.setAttribute("width", size);
} else {
box.setAttribute("height", size);
}
var label = createXULElement("label");
label.setAttribute("class", "calendar-time-bar-label");
label.setAttribute("value", timestr);
label.setAttribute("style", "color: #4080C0; font-weight: bold;"); // Replace "align"
box.appendChild(label);
var label = createXULElement("label"); // Add
label.setAttribute("class", "calendar-time-bar-label"); // Add
label.setAttribute("value", time2str); // Add
box.appendChild(label); // Add
return box;
}
는 makeTimeBox()
후 다음과 같은 방법을 추가합니다.
function makeTime(hour) {
var h = hour % 12;
if (h == 0)
h = 12;
var s = hour >= 12 ? " pm" : " am";
var result = h + s;
return result;
}
은 ... 수 ...
makeTimeBox()
var formatter = Components.classes["@mozilla.org/intl/scriptabledateformat;1"].
getService(Components.interfaces.nsIScriptableDateFormat);
변경 다음 줄 아래에 몇 줄이 나타납니다 다음 행 ...
var timeString;
를 제거
var timeString, time2String;
약 25 행 lo WER는 ...
timeString = formatter.FormatTime("",
Components.interfaces.nsIScriptableDateFormat.timeFormatNoSeconds,
theHour, 0, 0);
box = makeTimeBox(timeString, durPix);
가 ... 수 ... 다음 줄을 교체
timeString = makeTime(theHour) + " MT";
ptHour = theHour - 1;
ptHour += 23;
ptHour %= 24;
ptHour += 1;
time2String = makeTime(ptHour) + " PT";
box = makeTimeBox(timeString, time2String, durPix);