Here, various info that doesn't fit at present on other pages...
Bug: Google Calendar behaviour with ical files
Google calendar does not seem to be compliant with the RFC describing ical files.
As of today (2014/12), Google calendar app DOES NOT consider a default time (such as
19980118T230000 ) as local time and always treats it as "Zulu" (UTC) time. It shouldn't, as the ical RFC is pretty clear about this.
gensched generates at present ical file with local time only...
To get a nice pdf file useful for sending through email, several solutions are available:
- the most obvious is to use your browser to print the page using some pdf virtual printer.
- On Linux, this seems to be a default.
- On Windows, in the past this would require to install something like pdfcreator, which is pretty good (assuming you check at install time that it doesn't install some bloatware you don't want...). But I have been told that recent Windows versions now include out-of-the-box pdf printing facility.
- Another solution is to use a command-line virtual printer so you can automate the pdf generation. This is available on both Windows and Linux with the program
wkhtmltopdf (see http://wkhtmltopdf.org/). Its usage is as simple as:
>wkhtmltopdf --quiet --orientation Landscape input.html output.pdf
Using with LibreOffice
If you are using Libre Office to generate the input csv file, it can be useful to have some details on customization. The goal is to have a "one-click" generation of the csv file form an .ods file, by using a button in the toolbar.
The following has been tested on LO 4.2.8, should adapt without problems to more recent versions.
- To create the macro that will do the export, the easiest is to use the macro recorder (needs to be enabled first): run the macro recorder and do manually the export of current file to csv format, then stop the recorder.
- To add a button in toolbar
- open the root ods file
- Menu "Tools->Customize", tab "Toolbars": click "new" and create a toolbar (my_toolbar), and save it in the current file.
- just below ("toolbar content"), click "Add" and navigate to "Libre Office macros", open the current file and select the "export to csv" macro.
- Done !