Skip to Content.
Sympa Menu

en - wrong date_subscriber in subscriber_table

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Paola Gatti <address@concealed>
  • To: address@concealed
  • Subject: wrong date_subscriber in subscriber_table
  • Date: Fri, 16 Nov 2001 11:19:17 +0100

Hi all,

I'm using Sympa v.3.2.1 configured with user_data_source
equal to a database Oracle.

When I add a new subscriber to a list the subscription date
is right if I do it before 12 p.m , but if I do it in the afternoon
the date is written wrong, i.e., _one day forward_

The date on Oracle system is ok (I executed the command
select sysdate from dual)

May be there is something wrong in this List.pm's statement ?

$sql = 'to_date(to_char(round(%s/86400) + to_number(to_char(to_date(\'01/01/1970
\' ,\'dd/mm/yyyy\'), \'J\'))) || \':\' ||to_char(mod(%s,86400)), \'J:SSSSS\')';

Thanks a lot,

regards
Paola Gatti




  • wrong date_subscriber in subscriber_table, Paola Gatti, 11/16/2001

Archive powered by MHonArc 2.6.19+.

Top of Page