Date stamped file names.

52 views
Skip to first unread message

steeple ian

unread,
May 20, 2019, 5:39:48 AM5/20/19
to weewx-user
I am currently using  'MMYYYY.csv.tmpl' to generate a monthly timestamped file name, eg 052019.csv

Is it possible possible to generate a timestamped file name in the form May.csv?

Ian

gjr80

unread,
May 21, 2019, 7:47:39 PM5/21/19
to weewx-user
Hi,

Short answer is no, the only supported month format is a two digit zero padded month number. I did have some code I was running that did what you are asking but I can' find it just now. It's a very basic change though. I will see if I can convince Tom.

Gary

steeple ian

unread,
May 21, 2019, 8:04:16 PM5/21/19
to weewx...@googlegroups.com
Thanks Gary,

If its a simple fix and you can convince Tom, it would save me a lot of file renaming.

Ian

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4c687a07-6982-4593-b2e7-3444b4e913ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages