- Issue created by @codebymikey
- Merge request !48Issue #3530530 by codebymikey: StrToTime: Support custom date formats → (Open) created by codebymikey
- 🇳🇱Netherlands megachriz
This is a great addition! I do wonder if we should fallback to
strtotime()
when parsing the date fails. Maybe provide that as an option? "Fallback tostrtotime()
if the date could not be parsed.". What do you think?If you have applied the Tamper "String to Unix Timestamp" to the source "date" and set the date format to "d/m/Y" and then import the following CSV:
title,date Foo,2020-09-01 Bar,01/11/2011 Qux,01-10-2011
This is the result after import (using the latest dev releases of Feeds and Feeds Tamper):