chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.67k stars 109 forks source link

Date format #318

Closed Antoder10 closed 1 year ago

Antoder10 commented 1 year ago

Hi! I'm trying to format the date like this dd/MM/yyyy @ k:mm:ss

But the output that I get is giving _ instead of / and :

Are those forbidden characters?

chenxiaolong commented 1 year ago

Yep, that's right. / is not allowed in a filename on Linux/Android because it's used to separate folders in a path (eg. /sdcard/Recordings/filename.m4a). : is additionally not allowed by Android so that files can be copied to/from Windows, which doesn't support :.