WLS wrote:
Jim Taylor wrote:
WLS wrote:
WLS wrote:
Ken wrote:
Another less-than-brilliant thing with SM 2.2. My email
print-outs no
longer give the date at the top, just a time (e.g., '2.03 PM').
Some of
us rely on the date being at the top for ease of reference later
and for
filing of correspondence.
As for what S.M. 2.2 has done to the working of my Composer for my
webpages, my views on that are unprintable. For example, photos
don't
appear when published, and internal links and 'anchors' have ceased
functioning.
I'll be trying later today, with help from a computers-savvy
friend on
the other end of the telephone, to use System Restore to take my
computer back a week to the previous SM. But there may still be
hours of
work involved. (Hmm. To the unthinking person here who spoke of
'laziness', I would say that my view on that is equally dark and
unprintable.)
- Ken (in Oz)
Why go through all that?
Did you check your Header and Footer options?
The date and time printed fine for me
Need help? Press the F1 function key to open SeaMonkey help, enter
print
into the search field, select printing a page, there is a section on
Using Page Setup.
Note: Some Page Setup functions are different or
unavailable on Mac OS, Linux or Unix.
Can't help you with Composer, my views to NEVER use it for web pages
are
well known.
Addendum to the previous post.
If you have the email header collapsed and only showing Subject: From:
and the time, that is what will print out.
Expanding the header in emails also shows and prints the date and time
in the body of the message.
I have the date and time print at the lower right in the footer for
every email and message.
The Date (of Subject, From, Date, To:) field of both mail and news only
shows the time on the day it is received. After the day it is received
it shows both the date and time. I suspect this is what the OP is
complaining about. This is fine for screen viewing because if there is
no date you know it is today, but on a printed copy just having the
time
is worthless. I can't find any way to change this behavior so if there
really isn't any way to have the DATE: always display the date as well
as the time I would consider that a bug.
Setting the Date/Time in the Header or Footer still prints the date,
as my test email just proved to me, even though you are correct that
it only shows the time on the day it is received in the body.
Setting the Date/Time in the header will also just print the Date/Time
the email or message was printed, not received.
If the OP wants to print on the day received I still suggest they use
Date/Time in the Header
Otherwise I hope he is happy with his system restored previous
SeaMonkey with security vulnerabilities.
Please excuse me if I'm in the wrong place in the code (It's a large
code base and I'm not familiar with it), but if I'm in the right place
this is working as designed. And while this is fine for screen viewing
and is the usual way dates are displayed in UNIX it's not good for
printed records so in light of the OP's complaint I question the
design. It would be easy enough to always display the date and (again
if I'm in the right place), it looks like someone has already decided
not to just display the day of the week in the current week and
commented code out with a comment that a preference is needed to
enable it if desired. Perhaps a preference to always display the full
date is also needed.
http://mxr.mozilla.org/mozilla/source/mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp#306
304 PR_ExplodeTime(messageTime, PR_LocalTimeParameters,
&explodedMsgTime);
305
306 // if the message is from today, don't show the date, only the
time. (i.e. 3:15 pm)
307 // if the message is from the last week, show the day of the
week. (i.e. Mon 3:15 pm)
308 // in all other cases, show the full date (03/19/01 3:15 pm)
309 nsDateFormatSelector dateFormat = kDateFormatShort;
310 if (explodedCurrentTime.tm_year == explodedMsgTime.tm_year &&
311 explodedCurrentTime.tm_month == explodedMsgTime.tm_month &&
312 explodedCurrentTime.tm_mday == explodedMsgTime.tm_mday)
313 {
314 // same day...
315 dateFormat = kDateFormatNone;
316 }
317 // the following chunk of code causes us to show a day instead
of a number if the message was received
318 // within the last 7 days. i.e. Mon 5:10pm. We need to add a
preference so folks to can enable this behavior
319 // if they want it.
320 /*
321 else if (LL_CMP(currentTime, >, dateOfMsg))
322 {
323 PRInt64 microSecondsPerSecond, secondsInDays, microSecondsInDays;
324 LL_I2L(microSecondsPerSecond, PR_USEC_PER_SEC);
325 LL_UI2L(secondsInDays, 60 * 60 * 24 * 7); // how many seconds
in 7 days.....
326 LL_MUL(microSecondsInDays, secondsInDays,
microSecondsPerSecond); // turn that into microseconds
327
328 PRInt64 diff;
329 LL_SUB(diff, currentTime, dateOfMsg);
330 if (LL_CMP(diff, <=, microSecondsInDays)) // within the same week
331 dateFormat = kDateFormatWeekday;
332 }
333 */
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey