Osclass Support Forums

Osclass plugin support => Free Osclass Plugins => Facebook Login Plugin => Topic started by: Lyubomir Minchev on April 23, 2018, 10:19:38 PM

Title: Users registration date logged as the fisrt day of unix time
Post by: Lyubomir Minchev on April 23, 2018, 10:19:38 PM
Hello,

I have noticed many users, who are registered via Facebook plugin have the same registration date:

"January 1, 1970 2:00 am"

most of them are registered at the fist day of unix time :)
They are ones who have the correct registration date.

Does anyone else have this weird behavior ?



Thanks
Title: Re: Users registration date logged as the fisrt day of unix time
Post by: MB Themes on April 24, 2018, 12:26:58 PM
@Lyubomir
I can see same behaviour, but not sure why, code is correct:
Code: [Select]
'dt_reg_date' => date('Y-m-d H:i:s')
maybe
Code: [Select]
'dt_reg_date' => date("Y-m-d H:i:s")
could work....
Title: Re: Users registration date logged as the fisrt day of unix time
Post by: Lyubomir Minchev on April 24, 2018, 04:08:22 PM
Thanks for your suggestion.
I have just changed it to double quotes, as advised.

Will be waiting for the next registration via Facebook :)
Title: Re: Users registration date logged as the fisrt day of unix time
Post by: Lyubomir Minchev on April 24, 2018, 10:38:48 PM
A new registration came in today and  the time was logged correctly: "April 24, 2018 5:51 pm"

I will monitor the newcomers for a while and report back.
Title: Re: Users registration date logged as the fisrt day of unix time
Post by: MB Themes on April 25, 2018, 08:12:54 AM
Interesting  ::)
Title: Re: Users registration date logged as the fisrt day of unix time
Post by: Lyubomir Minchev on April 26, 2018, 06:52:09 PM
I got a new registration from yesterday and the date is again "1st January 1970"

It is intermittent.

I see that both registrations ( with the correct date and with the unix date ) are coming from the same mail provider. (@abv.bg)

So it should not be something at the client side.

Also, all registrations on first unix date are missing an entry in "update date" column.