Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUMMARY tag with LANGUAGE setting ignored completely #7

Open
GoogleCodeExporter opened this issue Mar 29, 2015 · 2 comments
Open

SUMMARY tag with LANGUAGE setting ignored completely #7

GoogleCodeExporter opened this issue Mar 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. ICS Line: SUMMARY;LANGUAGE=en-us:Office Workgroup Focus Group


What is the expected output? What do you see instead?
Should return an array of:
('SUMMARY' => 'Office Workgroup Focus Group')

Instead returns an array of:
('SUMMARY' => '')

What version of the product are you using? On what operating system?
r13
Released: Sep 18, 2011

Please provide any additional information below.
Fixed by adding a case for the SUMMARY under function __construct($filename)

This issue might also affect timezone settings:
eg.
DTEND;TZID="Eastern Standard Time":20130502T180000
DTSTART;TZID="Eastern Standard Time":20130502T130000
etc.

But admittedly I haven't tested that yet.

Original issue reported on code.google.com by brianate...@gmail.com on 2 May 2013 at 2:13

@GoogleCodeExporter
Copy link
Author

Added under the 'default' case:

        // SUMMARY with LANGUAGE setting
        case "SUMMARY;LANGUAGE=en-us":
            $type = "SUMMARY";
            break;

Original comment by brianate...@gmail.com on 2 May 2013 at 2:25

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This was fixed on the new version which also handles RRULE for recurring events.

Can be found here: https://github.com/johngrogg/ics-parser

Original comment by brianate...@gmail.com on 17 Jul 2013 at 7:50

  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant