From 0c281d2c1e53248f0075f988fb4ba02f041bd170 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Wed, 9 Apr 2008 20:38:29 +0000 Subject: Tony's patch concerning date format configuration imported --- src/vars.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/vars.c') diff --git a/src/vars.c b/src/vars.c index 6dab20b..db09bf8 100755 --- a/src/vars.c +++ b/src/vars.c @@ -1,8 +1,8 @@ -/* $calcurse: vars.c,v 1.6 2007/12/30 16:27:59 culot Exp $ */ +/* $calcurse: vars.c,v 1.7 2008/04/09 20:38:29 culot Exp $ */ /* * Calcurse - text-based organizer - * Copyright (c) 2004-2006 Frederic Culot + * Copyright (c) 2004-2008 Frederic Culot * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,6 +25,7 @@ */ #include +#include #include "i18n.h" #include "calendar.h" @@ -101,6 +102,8 @@ vars_init(conf_t *conf) conf->auto_save = true; conf->skip_system_dialogs = false; conf->skip_progress_bar = false; + strncpy(conf->output_datefmt, "%D", 3); + conf->input_datefmt = 1; /* Default external editor and pager */ ed = getenv("VISUAL"); -- cgit v1.2.3-54-g00ecf