iamjustkoi / StudyTimeStats

Customizable statistics add-on for Anki.
https://ankiweb.net/shared/info/1247171202
MIT License
21 stars 4 forks source link

Display card average macro in seconds? #34

Open mnmnks opened 1 year ago

mnmnks commented 1 year ago

Hi!

The macro %card_avg_hrs displays in minutes currently. Is it possible to change it to display average study time per card in seconds instead? Or could the %eval{} macro be used for this?

I think it's more useful to have "2.45s" as a stat than "0:02min" given that answer times are in the seconds range, seldom in the minutes range.

Thank you for the addon!

AxillV commented 1 year ago

I agree, it would be a useful macro to have. So far I haven't been able to use %eval{}, it keeps crashing the addon, even with the simple input: %eval{%card_avg_hrs}.

iamjustkoi commented 1 year ago

Hey, sorry for the late reply! Been really busy with work/life issues, but I can defs try to set this up for the add-on as soon as I'm able!

If there's ever any pull requests though, I'd be down to check those out and hopefully implement this a lot sooner, but for now I don't know if I'll be able to push any updates for a bit! Either way, appreciate the request! ^^

Thank you for the addon!

You bet! Thanks for the kind words! :D