andweeb / presence.nvim

Discord Rich Presence for Neovim
793 stars 68 forks source link

Timer resets after reaching 24 hours #109

Open ppebb opened 1 year ago

ppebb commented 1 year ago

Description

After reaching 24 hours the timer resets to 0.

Neovim version

NVIM v0.10.0-dev-0e0a166
Build type: Release
LuaJIT 2.1.0-beta3

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

OS information

Linux arch 6.3.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 05 Jun 2023 15:12:57 +0000 x86_64 GNU/Linux

Steps to reproduce

Run the plugin for over 24 hours

Logs

.

Samasaur1 commented 1 year ago

I think I've also been seeing this since I set up the plugin, which was October 26, 2022

jbugel-lol commented 11 months ago

it always resets after 24h? (except you mean the playing for thingy)

Samasaur1 commented 11 months ago

I don't think I've ever seen the timer go over 24h, despite seeing it get close and knowing that I've left nvim open for longer than that

jiriks74 commented 9 months ago

Hello, if you're willing to transfer your issue to my repo I'll try to take a look at it.

I cannot make any promises as I don't know how much free time I'll have and I have just started working with Lua but I'll try my best to solve it.


I'll try to reproduce this and find what is responsible for updating the timer.