I reply to my self.
The correct timezone to use is not "CEST" but 'Europe/Rome' which fix the
problem.
Sorry for the noise.
Pigi
On Saturday 27 June 2020 18:07:29 Pigi wrote:
> Hi all,
> I've a problem in the processing phase for nfsen.
> When I select a time window I cen select them with the right time eg :
> "tstart 2020-06-27-17-00" "tend 2020-06-27-17-40"
> but then when searching for Stat TopN I see:
> ** nfdump -M /usr/local/nfsen/profiles-data/live/live -T -R
> 2020/06/27/nfcapd.202006271500:2020/06/27/nfcapd.202006271540 -n 10 -s
> ip/flows
>
> So is showing me tine time from 15:00 to 15:40
>
> I've triplecheched the timezone from phpinfo and seems to be fine:
> Default timezone UTC
> date.timezone CEST
>
> So the default is UTC ( and cannot find a way to change ) but date.timezone
> is CEST wich is correct.
>
> I have also tried to change the default timezone in nfsen.php adding:
>
> date_default_timezone_set('CEST');
>
> at the beginning but still no joy.
>
> nfcapd files are all fine ( the date are correct )
>
> Any hint ?
>
> nfsen is 1.3.8
> PHP is 7.4.2
> httpd is apache 2.4.41
>
>
> Thanks in advance
>
> Pigi
>
>
> _______________________________________________
> Nfsen-discuss mailing list
> Nfsen-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss