@frissdiegurke said in Name of uploaded files:
@julian said in Name of uploaded files:
The numbers are actually a timestamp, they are not random.
They're not actual UNIX timestamps, but similar; Just with milliseconds instead of seconds. This might have confused @mechanix
Exactly. I understand that Unix time is great to have unique file uploads but it would be more intuitive to use standard time stamps.
To find which files are erroring, add
console.error('json error in file', path.join(coreLanguagesPath, lang, namespace + '.json'));
Before each of the following lines of the linked file:
Line 108: https://github.com/NodeBB/NodeBB/blob/master/src/meta/languages.js#L108
Line 140: https://github.com/NodeBB/NodeBB/blob/master/src/meta/languages.js#L140