Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How would one go about measuring session length? #129

Open
mabdullahabid opened this issue Jan 25, 2021 · 1 comment
Open

How would one go about measuring session length? #129

mabdullahabid opened this issue Jan 25, 2021 · 1 comment

Comments

@mabdullahabid
Copy link

There seems to be multiple ways to do it so I'd like to know what everyone thinks.

@dwasyl
Copy link

dwasyl commented May 17, 2021

I'd added that functionality by adding a created_at field to the Session model (pushed as PR #75 but I couldn't get it to pass the tests due to some DB issues. It was the only way to measure session length I could come up with, and useful for being able to tell when a session was first created. What other ways would you do this? I haven't had time to rewrite it without the auto_add_now field since I've just been using my older fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants