← Back to team overview

zim-wiki team mailing list archive

Re: Autohotkey

 

Hi Andrew,

I have just added the new first line in the dates.list file:

[/Tasks][6564]% diff -u
C:/Users/ydudorov/AppData/Roaming/zim/config/zim/{dates.list--orig,dates.list}
--- C:/Users/ydudorov/AppData/Roaming/zim/config/zim/dates.list--orig
2018-02-12 07:48:48.000000000 +0300
+++ C:/Users/ydudorov/AppData/Roaming/zim/config/zim/dates.list 2020-07-21
16:00:26.411111700 +0300
@@ -1,6 +1,7 @@
 # List with date-time formats used for the
 # "Insert Date eand Time" dialog.
 # See man strftime a description of the format.
+%Y%m%d %H:%m:%S
 %x
 %c
 %A %d/%m/%Y
[/Tasks][6565]%

After that I have opened the new notebook and see interpretation of this
line in the top of the list shown by the " Date and Time ..." dialog:

[image: image.png]


Is it possible that you have the invalid format?

Zim is 0.68-rc1 (Windows).

Hope it helps.

On Tue, Jul 21, 2020 at 2:58 PM Andrew Capey <agc0403@xxxxxxxxx> wrote:

> Nearly,
> I prefer to use the ISO date format & sometimes with time on the end
> (20200721 , 20200721 12:55:07 ) , so I have tried editing the *dates.list*
> file.
> However changes I make do not seem to be taken up by zim - I've closed the
> app & restarted & it but no better.
> So is there another copy of *dates.list* , or a cache somewhere, or a way
> to force zim to load the new version of *dates.list*?
>
> Thanks
> Andrew
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> *Andrew Capey   *
>
>
>
> On Sun, 19 Jul 2020 at 23:47, Svenn Are Bjerkem <
> svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
>
>>
>> On Sun, 19 Jul 2020 at 23:36, Andrew Capey <agc0403@xxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> On Windows 10 I have a script that writes the current date or date&time
>>> by simple Alt-key shortcuts.
>>> If I edit the .txt file in Notepad & use the shortcuts they work &
>>> appear in the view in zim.
>>>
>>> But they don't work in Zim. I presume that's because what I am seeing is
>>> the parsed page. Is there a way around this?
>>>
>>
>> Does any of the date/time formats that appear when pressing ctrl-d fit
>> your needs?
>>
>> --
>> Svenn
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Best regards,
Yury Dudorov

mailto: Yury.Dudorov@xxxxxxxxx
Telegram:    +7 (985) 773 0 718
WhatsApp:   +7 (985) 773 0 718
Viber:            +7 (916) 545 12 67
Skype:           yury_dudorov

Cellular: +7 (985) 773 0 718

PNG image


Follow ups

References