Open Dtrieb opened 2 months ago
Hi! What is your app version? By template do you mean the in app template buttons?
I've tested in the in app templates and https://github.com/lochidev/TextToolsPro/blob/main/examples/config.yml and in both instances I get "10/08/2024". If you can share your config we could find out the error.
Ah!
I found my error, my variable {mydate} was set to: format: dd.M.yyyy there I miss a M I've had to write format: dd.MM.yyyy
Sorry!
One question:
Why add format: ddHHmmMMMyy
a dot like this: 101549Aug.24
That is also weird. No dot in my end.
You can also mess around by changing the string in this ToString() method here: https://dotnetfiddle.net/yA5DFt
That is what is happening under the hood in this app.
Docs: https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings
- trigger: :drkdatum
replace: '{{mydate}}'
vars:
- name: mydate
type: date
params:
echo:
format: ddHHmmMMMyy
offset: 0
cmd:
choices:
word: false
That's what I use.
I tried your config and I got something like:"101549Aug24" That is what you need right? Can you try using v7.0.0? https://github.com/lochidev/Expandroid/releases/tag/v7.0.0
101640Aug.24 that's what I get.
Version 7.0.0 com.dingleinc.texttoolspro
Can you try with "ddHHmm%byy"? instead?
Unfortunately since I can't replicate this on my end this will be a hard fix. Let's open the issue and see if anyone also will get this issue.
ddHHmm%byy = 101744Aug.2024
If I add a date per template it miss a zero.
P.e.:
Today: 10.8.2024 But I want 10.08.2024