tiberiusteng / financisto1-holo

Financisto 1.6.8 with Holo theme and tweaks
GNU General Public License v2.0
19 stars 11 forks source link

Notification template date not parsed #16

Open vov4uk opened 5 months ago

vov4uk commented 5 months ago

Hi, Have issue with datetime format: it not parsed Can I specify date format? Or add date {{d}} option to template?

As well you can see on screens below - app name - Winbank.

In Financisto notification list - it not shown. Notification example:

🛒 85.95₴ Кешбек 1.72₴ 🛒 85.95₴ Кешбек 1.72₴ V_Velykogo10 Баланс: 3 709.66₴ 09:17 20.01.2024

Screenshot_20240121_114000_One UI Home.jpg

Screenshot_20240121_114034_Financisto.jpg

Screenshot_20240121_114109_Financisto.jpg

tiberiusteng commented 5 months ago

Hi, Currently date/time is not used in transaction generation (formats are too diverse I don't have a good way to parse it or provide configuration) So you can just use {{*}} to skip it, or since in your example it's at the end you can just ignore it like:

🛒 {{p}}₴

But I see the Кешбек 1.72₴ part, is the 1.72 amount included/already deducted from the 85.95 ? Do you need to create another transaction with 1.72 value ? (It's currently not supported but if there's need I'll see what I can do)

vov4uk commented 5 months ago

No need another transaction create - 1.72 it's cashback (bonus) amount calculated from 85.95.

🛒 {{p}}₴

Might not work, bacause icons can change. But {{p}} works.

Screenshot_20240121_151809_GitHub.jpg