Skip to content

Instantly share code, notes, and snippets.

@heddn
Created October 10, 2016 17:30
Show Gist options
  • Save heddn/00f80f1ac388cd579bb8d142a4fe560f to your computer and use it in GitHub Desktop.
Save heddn/00f80f1ac388cd579bb8d142a4fe560f to your computer and use it in GitHub Desktop.
- field_date: field_date
+ field_date:
+ plugin: iterator
+ source: field_date
+ process:
+ value: value
+ end_value: value2
@heddn
Copy link
Author

heddn commented Feb 27, 2018

You might have to use the data_format process plugin to reformat the start and end dates to the proper format for the destination.

@baisong
Copy link

baisong commented Feb 27, 2018

That works! Updated my code above.

One last issue I'm having: No matter what I try with from_timezone and to_timezone, and with or without -0800 (Pacfiic Standard Time) appended on the end of the CSV values, it always takes seems to add 4 hours.

@baisong
Copy link

baisong commented Feb 27, 2018

@heddn please let me know if you have any timezone tips. Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment