لتجربة الآلاف من الإضافات المتوفرة هنا، نزّل متصفح موزيلا فَيَرفُكس مجانًا. المتصفح الأسرع والأكثر أمانًا في عالم الإنترنت.

Close

مرحبا بك في إضافات فَيَرفُكس.

اختر من بين الآلاف من المميزات والمظاهر الإضافية واجعل فيرفُكس ملكًا لك.

Close

في الطريق، أثناء تنقلك؟

ألقِ نظرة على موقع إضافات الهواتف الذكية.

Close

Brian Woltemate

معلومات عنّي

معلومات المطور
الاسم Brian Woltemate
مُستخدم منذ يناير 19, 2011
عدد الإضافات التي طورتها 0 إضافة/إضافات
معدّل التقييم من مطوري الإضافات بلا تقييم حتى الآن

تعليقاتي

SmartTemplate

مقيمة بـ 4 من 5 نجوم

Fix for all messages.
By replacing the prTime2Str function at 416 with the below function will make the date received %datelocal%Reserved word match the time stamp of Thunderbird. The early comment only fix the problem on certain messages.

function prTime2Str(time, type, timezone)
{
//Patch to correctly handle comcast.net emails.
var tm = new Date();
var fmt = Components.classes["@mozilla.org/intl/scriptabledateformat;1"].
createInstance(Components.interfaces.nsIScriptableDateFormat);
var locale = parent.pref.getCom("general.useragent.locale", "en-US");
// Set Time
tm.setTime(time / 1000);
alert(tm);
// Format date string
switch (type) {
case "datelocal":
dateFormat = fmt.dateFormatLong; timeFormat = fmt.timeFormatSeconds;
break;
case "dateshort":
default:
dateFormat = fmt.dateFormatShort; timeFormat = fmt.timeFormatSeconds;
break;
}
return fmt.FormatDateTime(locale, dateFormat, timeFormat,
tm.getFullYear(), tm.getMonth() + 1, tm.getDate(),
tm.getHours(), tm.getMinutes(), tm.getSeconds());
}

هذا المستخدم لديه تعليق سابق على هذه الإضافة.

SmartTemplate

مقيمة بـ 4 من 5 نجوم

I was having a problem with the %datelocal% Reserved word. When a message was sent from a comcast.net server Smart Template was interpreting the time zone incorrectly making the tame stamp bogus. I was able to fix it for my purposes by inserting the following at line 418.
//Patch to correctly handle comcast.net emails.
if (timezone == 000)
{
timezone = -300;
}

I'm sure this will cause a problem if an email was actually from the timezone 000 but it fixes the problem for my purposes.

Thank You