Commit 2fb08177 authored by Ettore Perazzoli's avatar Ettore Perazzoli

(generate_html): Add a %P in the strftime

string for the case when the user wants am/pm format.  [#19957]

svn path=/trunk/; revision=20364
parent 5ab2f198
2003-03-19 Ettore Perazzoli <ettore@ximian.com>
* e-summary-calendar.c (generate_html): Add a %P in the strftime
string for the case when the user wants am/pm format. [#19957]
2003-03-13 Mike Kestner <mkestner@ximian.com>
* e-summary-preferences.c (fill_rdf_etable): pass FALSE for
......
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-summary-calendar.c
*
* Copyright (C) 2001, 2002 Ximian, Inc.
* Copyright (C) 2001, 2002, 2003 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
......@@ -404,7 +404,7 @@ generate_html (gpointer data)
if (calendar->wants24hr == TRUE) {
strftime (start_str, sizeof start_str, _("%k:%M %d %B"), &start_tm);
} else {
strftime (start_str, sizeof start_str, _("%l:%M %d %B"), &start_tm);
strftime (start_str, sizeof start_str, _("%l:%M%P %d %B"), &start_tm);
}
if (cal_component_has_alarms (event->comp)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment