mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-11 20:00:26 +01:00
reference_date does not seem to be optional when importing #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zkutasi on GitHub (Nov 26, 2025).
I see this txt in the Wiki
But when I did not set this at all in my importer's YAML config, I got this error:
The input file is this:
And I have this importer config now:
@zkutasi commented on GitHub (Nov 26, 2025):
Also, please help me how could I state in a transformation this:
For this row:
I got a missing date error.
@eitchtee commented on GitHub (Nov 26, 2025):
This is indeed a bug! Thanks for bringing it to my attention, until a fix is released you can keep doing what you're doing (duplicate the definition for date as reference_date).
First, you don't need to remove the time from the last column, just use a proper format for it like
%Y.%m.%d %H:%M:%S. WYGIWYH should be smart enough to convert this to a date when needed.This is a nice brain-teaser, I don't think there's an easy way to do this right now because merge will add the empty string to the result, creating 2 or 3 different possible strings that don't have matching indexes:
Instead you can leverage merge and regex with a lookbehind. Don't ask too much about how the dark sacred art of regex works, but this should work.
(duplicate this for the reference_date)
@eitchtee commented on GitHub (Nov 26, 2025):
A fix for this will be available on the next release (hopefully soon).