[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Minor Bug in ical2org awk script
From: |
Eric S Fraga |
Subject: |
Re: [Orgmode] Minor Bug in ical2org awk script |
Date: |
Wed, 21 Jul 2010 17:07:29 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On 21 Jul 2010 12:39:50 +0200, "Sven Bretfeld" <address@hidden> wrote:
>
> Hi all, hi Eric
>
> Eric Fraga's wonderful awk script to export/convert googlecalendar to
> orgmode contains a minor bug in creating active timestamps. A date like
> 21.7.2010, 14-15 will be converted to
>
> <2010-07-21 14:00-15:00>
>
> What is missing here is the day of the week. It should be (in German):
>
> <2010-07-21 Mi 14:00-15:00>
Sven,
attached is an updated awk script which should do what you want.
Please test it out as it should be generic (with respect to locale).
I hadn't done this originally because the way I was creating the time
stamps was rather clumsy. As I'm now using strftime in awk, adding
the day of the week was trivial...
eric
ical2org.awk
Description: Text document
--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D