Quote:
Originally Posted by comox
I have a related question.
When I import a file name with date formatted as yyyy, for example:
John Doe - This Is My Life - 2014
using:
(?P<author>[^_]+) - (?P<title>.+) - (?P<published>.+)
The field <published> is filled with 2014-08-15.
Is there a way to have Year default to January 1?
For example: 2014-01-01.
|
Excactly what I'm also aiming for: Is there a way to have the Year set as default to January 1?
For example when importing a file as above:
This Is My Life - 2014.pdf
with:
(?P<title>.+) - (?P<published>.+)
Output in database is:
Title: This Is My Life
Published: 2014-12-15
(maybe it always sets the 15. of the month, in which the file was imported as default?)
But the aim is to always get this: yyyy-01-01
Thus, Published: 2014-01-01
Thanks for help in advance