Open Source Training Seminar FreePBX Paid Support

Ticket #2449 (closed Bugs: worksforme)

Opened 1 year ago

Last modified 3 months ago

Faxes displaying wrong time sent due to timezone not being taken into account.

Reported by: sgmeunier Assigned to: p_lindheimer
Priority: minor Milestone: 2.4
Component: Core Version: 2.3.0
Keywords: fax, faxing, date, time Cc:
Confirmation: Need Feedback SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version: 1.4.12

Description

Hi

I'm not sure if this is a bug, but I have failed to find this problem in your bug tracker or on the forum.

The time "sent" displayed on a fax was out due to the timezone not being taken into account. We corrected this by changing "date" to "date -R" in fax-process.pl as follows:

--- fax-process.pl.0    2007-03-09 12:16:38.000000000 +0200
+++ fax-process.pl      2007-10-17 13:13:41.000000000 +0200
@@ -111,7 +111,7 @@
 # And that's pretty much all the hard work done. Now we just create the
 # headers for the MIME encapsulation:
 my $boundary = '------FREEPBX_FAX_MAIL:';
-my $dtime = `date`;
+my $dtime = `date -R`;
 chomp $dtime;
 my @chrs = ('0' .. '9', 'A' .. 'Z', 'a' .. 'z');
 foreach (0..16) { $boundary .= $chrs[rand (scalar @chrs)]; }

Regards sgmeunier

Change History

10/23/07 15:28:22 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need Feedback.

if your system is properly setup the date command should be delivering the proper date. What was your setting it to? Was it different then if you just type date a the command line?

11/03/07 16:31:32 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to worksforme.

having tested this both ways and having received no feedback, closing as invalid. I don't want to fix it if it seems to work fine on a properly configured system. If there is a valid argument that can be pointed out, please update this ticket and we will review.

07/01/08 16:14:59 changed by p_lindheimer

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads