Hi All,

I creating a calendar that imports an iCal feed into my event Content type. I have read up on most of the documentation that I can find and the issue queue but have not found an answer. As always, my apologies if it has been asked, any help is appreciated.

I am mapping the Sources to the Targets in the Node processor. But I do not understand the DTSTAMP (20140317T163556Z) format and how to map that over to a date format that I can use as my date field.

1. What format is this? ISO? UNIX? or something else?
2. How do I convert this into a format that can be used in my event Content type? I am using the Content type to populate my Calendar view.

Thank you for your assistance.

Comments

coredumperror’s picture

Status: Active » Fixed

DTSTAMP is just the time at which the iCal feed was created, so you generally don't need to care about it. The important date info is in the DTSTART and DTEND (or DURATION) fields. Date iCal handles those for you automatically, though, so you needn't worry about the format of those fields, either. You just need to map the "Date: Start" and "Date: End" fields to their respective values in your content type's date field.

As for what format it's in, I believe it's a variant of the ISO 8601 standard.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.