react-native-logs icon indicating copy to clipboard operation
react-native-logs copied to clipboard

Date format with using {date-today}

Open BohdanBida opened this issue 1 year ago • 1 comments

When I describe a file name, I want a separate file to be created every day but with date using my format (e.g. using usa format instead of default)

How to do it? I didn't find this in the documentation and I think it's currently not possible.

BohdanBida avatar Apr 04 '24 12:04 BohdanBida

+1 Honestly would just be nice if it used the format YYYY-MM-DD instead of DD-MM-YYYY so that files can be sorted lexicographically in the days they cover.

codejudas avatar May 26 '24 04:05 codejudas

in v 5.2.0 Added fileNameDateType option to the file transport for selecting the date format: eu "DD-MM-YYYY", us "MM-DD-YYYY", iso "YYYY-MM-DD". (eu default format)

alessandro-bottamedi avatar Oct 17 '24 11:10 alessandro-bottamedi