logintime replacement
28 Feb
2024
28 Feb
'24
6:47 p.m.
I noticed that the logintime module is not in v4. Is there a recommended way of replacing it or should it be moved to an "external" module, e.g. rest, python? -Stephen
29 Feb
29 Feb
2:35 p.m.
On Feb 28, 2024, at 1:47 PM, Stephen Medina <stephen@lilmail.xyz> wrote:
I noticed that the logintime module is not in v4. Is there a recommended way of replacing it or should it be moved to an "external" module, e.g. rest, python?
You can just check times directly. The unlang language now supports dates natively. if (%time('request') < (date) 'Aug 1 2023 01:02:03 UTC') { ... } Alan DeKok.
860
Age (days ago)
861
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alan DeKok -
Stephen Medina