Direct media library upload saving in wrong month date folder in custom theme

I’ve found that in Settings > Media > Files upload > Save files uploaded in this folder: there’s a URL that is not the default (wp-content/uploads).
Check this if it can help.

error code: 523