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

[duolingo] Duolingo app only uses default timezone (London) #2663

Open
dtseiler opened this issue Sep 13, 2024 · 5 comments
Open

[duolingo] Duolingo app only uses default timezone (London) #2663

dtseiler opened this issue Sep 13, 2024 · 5 comments

Comments

@dtseiler
Copy link

I just started using the app this week. I've noticed that it was saying I hadn't done any lesson that day when I had. I read your note that it should refresh every 20 minutes but that didn't seem to be it. I then changed to weekly view and it was flashing on Saturday when it is currently 6:30 PM on Friday evening for me (USA central daylight time).

I have my location set in my Tidbyt app preferences but apparently the Duolingo app isn't using that or unable to read that?

I see where it should be reading it and defaulting to the DEFAULT_TIMEZONE of "Europe/London".

Just wondering if it's the app or maybe something else I didn't set. I'm a new Tidbyt user. This is on a Gen2, app is on Android.

@dtseiler
Copy link
Author

Perhaps I'm mistaken in assuming that Tidbyt or duolingo widget would be determining the timezone based on my specified location. I don't specify timezone anywhere in the Tidbyt app or duolingo settings. I only specify my location (city).

@dtseiler
Copy link
Author

I set up the dev kit and played with changing the default to force it for now. I'm not sure if there's supposed to be a config drop-down for timezone or what config.get(timezone) is expected to retreive yet. Even so when I query now for my user, the latest value only has date 1726272000 which is Fri Sep 13. Today is Sat Sep 14 and I've done my lessons nearly 12 hours ago. I'm curious if there's a known delay from Duolingo that would explain the gap.

@dtseiler
Copy link
Author

@saltedlolly Not sure if it's bad form to ping the developer directly (apologies if so), but curious if you've encountered similar problems. It seems like, regardless of the timezone issue, there is some lag or gap in what Duolingo provides via that query API.

@saltedlolly
Copy link
Contributor

Hi, the truth is I built this for myself several years ago and it is a long time since I looked at it. I've pretty much forgotten how it works even though I built it and would need to dig into it. Since I am in the UK on London time this is not an issue that I have encountered personally. Someone else was mentioning this issue on the Tidbyt support site (perhaps that was you?). If I had time to look into it, I would, but I just don't right now. Sorry. By all means make a PR if you can figure out the issue.

@dtseiler
Copy link
Author

That might have been me if it was this past weekend. I was enjoying getting into the code, just wanted to touch base and see if there wasn't something already being looked it so I'm not re-inventing any wheels as I stumble around.

The obvious solution is for me to simply move to London.

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