hypermail should use the standard date format and refer time to UTC by default
sprintf(s, "%s %s", s, timezonestr);
}
_at_@ -155,9 +159,12 @@
if (set_eurodate)
strftime(date, DATESTRLEN, "%a %d %b %Y - %H:%M:%S %Z",
localtime(&yearsecs));
- else
+ else if (set_americandate)
strftime(date, DATESTRLEN, "%a %b %d %Y - %H:%M:%S %Z",
localtime(&yearsecs));
+ else
+ strftime(date, DATESTRLEN, "%Y-%m-%dZ%H:%M:%S",
+ gmtime(&yearsecs));
}
return date;
}
--- hypermail-old/src/setup.c Wed Mar 14 19:28:00 2001
+++ hypermail/src/setup.c Sun Mar 18 12:15:31 2001
bool set_indextable; bool set_iquotes; bool set_eurodate; +bool set_americandate; bool set_require_msgids; bool set_discard_dup_msgids; bool set_usemeta;
{"eurodate", &set_eurodate, BFALSE, CFG_SWITCH,
"# Set this to On to display article received dates with\n"
- "# days before months instead of months before days.\n"},
+ "# days before months.\n"},
+
+ {"americandate", &set_americandate, BFALSE, CFG_SWITCH,
+ "# Set this to On to display article received dates with\n"
+ "# months before days.\n"},
{"discard_dup_msgids", &set_discard_dup_msgids, BTRUE, CFG_SWITCH,
"# Set this to Off to accept messages with a Message-ID matching\n"
_at_@ -755,6 +760,7 @@
printf("set_indextable = %d\n",set_indextable);
printf("set_iquotes = %d\n",set_iquotes);
printf("set_eurodate = %d\n",set_eurodate);
+ printf("set_americandate = %d\n",set_americandate);
printf("set_require_msgids = %d\n",set_require_msgids);
printf("set_discard_dup_msgids = %d\n",set_discard_dup_msgids);
printf("set_usemeta = %d\n",set_usemeta);
--- hypermail-old/src/setup.h Wed Mar 14 19:28:00 2001
+++ hypermail/src/setup.h Sun Mar 18 12:15:31 2001
extern bool set_indextable; extern bool set_iquotes; extern bool set_eurodate; +extern bool set_americandate; extern bool set_require_msgids; extern bool set_discard_dup_msgids; extern bool set_usemeta;Received on Tue 20 Mar 2001 02:32:36 AM GMT
This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT