feat: show wakatime stats in percentage (resolves #3016) (#3326)

* added option to display wakatime in percentage

* updated exclusive options in wakatime

* added percent sign

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* made the required changes

* Update wakatime-card.js

* Update wakatime-card.js

---------

Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-11-23 21:13:48 +02:00
1 parent a8663a8025
commit b8983dd697
4 files changed
+9 -1

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ export default async (req, res) => {
api_domain,
border_radius,
border_color,
display_format,
disable_animations,
} = req.query;
@@ -84,6 +85,7 @@ export default async (req, res) => {
locale: locale ? locale.toLowerCase() : null,
layout,
langs_count,
display_format,
disable_animations: parseBoolean(disable_animations),
}),
);