Created
June 10, 2012 08:02
-
-
Save snickerjp/2904439 to your computer and use it in GitHub Desktop.
Pasonatech EventCalendar exchange iCal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//日付指定とJSTの時差分追加 | |
$e->setProperty( 'DTSTART' | |
, $split_matches[0], $split_matches[1], $split_matches[2], $split_matches[3], $split_matches[4], 00, "+090000" ); // 24 dec 2007 19.30 | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//LOCATIONをハッシュ化しているところ | |
$hashlocation = md5($title[$key]); | |
//UIDを生成しているところ | |
$e->setProperty( 'uid' | |
, "$dtstart-$hashlocation@snicker-jp.info"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment