mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:55 -05:00
[Bug]: User Stats Not showing current listening progress #1980
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf-advplyr#1980
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kanjieater on GitHub (May 9, 2024).
What happened?
I listened to over an hour of audiobooks today but it didn't show all of my time tracked

What did you expect to happen?
User stats should show the users stats up to date with how much they've listened to that day. I'd like to know how much I listened to today.
Steps to reproduce the issue
Audiobookshelf version
v2.9.0
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Chrome
Logs
No response
Additional Notes
No response
@kanjieater commented on GitHub (May 10, 2024):
Server time was set to UTC but i was expecting clients to be local time. Would it be better to allow users to set their own timezone or detect it per device?
@advplyr commented on GitHub (May 10, 2024):
Timestamps are stored in UTC and when needed they are converted using whatever timezone the server is set. You should define the timezone you want in your docker config. Is this still a bug?
@kanjieater commented on GitHub (May 10, 2024):
I would think the server would set it's time (probably utc), but imagine I have two users, one in japan & one in america. What would the user stats show for that day? I thought this was a timezones issue but maybe I'm wrong
You can see that as someone in America/Chicago time zone accessing my UTC server it only shows 40~mins for the day

it didn't show that I had listened to at least this full 1hr 11min session (and the other session before it too on the same day)

@kanjieater commented on GitHub (May 11, 2024):
I modified my timestamps like so, and still am seeing this strange behavior

It says I've listened to 3 hours this morning already, when I only listened to about 10, but listened to about 3 hours yesterday

@Tihersarc commented on GitHub (Oct 30, 2024):
I'm having this issue when I've been listening to a book for X chapters offline. When connecting back to the server (Windows) it seems to only register the last chapter's length, instead of the whole X chapters length, so if I've listened to 3 chapters 20m each, when I come home and connect to the server I'll only have 20m instead of 60m.
@filcuk commented on GitHub (Jun 18, 2025):
I'm on GMT TZ both server and client, latest server v2.25.1.
None of the statistics update for 'today'
*Always online for all sessions today, all streamed not downloaded