formatting the 'when' date string

14 views
Skip to first unread message

sf

unread,
Sep 18, 2012, 3:06:30 PM9/18/12
to googlecl...@googlegroups.com
Hi,

Is there a way to format the date string produced by 'google calendar today --fields when'?

Thanks,
  Sebastian

sf

unread,
Sep 18, 2012, 3:55:03 PM9/18/12
to googlecl...@googlegroups.com
Digging around there is this constant in the config/__init__.py

def _create_basic_options():
...
  _general = ...
              'date_print_format': '%b %d %H:%M', ...

So one way for me is to hack that line and, however, there might be a better way to configure it.

 Sebastian
Reply all
Reply to author
Forward
0 new messages