You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
thislogin and lastlogin are the same value, but different with :ago modifier #139
In both cases, the 2 dates (values) are the same.
But : using ago modifier [[!+user.lastlogin:date=`%d-%m-%Y`:ago]] seem to output the right value, the one stored in DB before the user loggedin.
[[!+user.lastlogin]] ==> 1541682071
[[!+user.lastlogin:ago]] ==> il y a 14 heures, 11 min
[[!+user.lastlogin:date=%d-%m-%Y %H-%M]] ==> 08-11-2018 1401
[[!+user.thislogin]] ==> 1541682071
[[!+user.thislogin:ago]] ==> il y a 14 heures, 11 min
[[!+user.thislogin:date=%d-%m-%Y %H-%M]] ==> 08-11-2018 1401
Expected behavior
I guess that [[+lastlogin]] should display the last time the user loggedin and [[!+user.lastlogin]]
[[!+user.thislogin]] should be quite different.
[[!+user.lastlogin]] ==> 1541624471
[[!+user.lastlogin:ago]] ==> il y a 14 heures, 11 min
[[!+user.lastlogin:date=%d-%m-%Y %H-%M]] ==> 07-11-2018 2201
[[!+user.thislogin]] ==> 1541682071
[[!+user.thislogin:ago]] ==> il y a 0 heures, 1 min
[[!+user.thislogin:date=%d-%m-%Y %H-%M]] ==> 08-11-2018 1401
Activity
yuliyepes commentedon Feb 16, 2020
There some way to fix it at least temporarily?