View | Details | Raw Unified | Return to bug 206752
Collapse All | Expand All

(-)date.c (+1 lines)
Lines 213-218 Link Here
213
	lt->tm_isdst = -1;		/* divine correct DST */
213
	lt->tm_isdst = -1;		/* divine correct DST */
214
214
215
	if (fmt != NULL) {
215
	if (fmt != NULL) {
216
		lt->tm_mday = 1;	/* avoid problematic defaults */
216
		t = strptime(p, fmt, lt);
217
		t = strptime(p, fmt, lt);
217
		if (t == NULL) {
218
		if (t == NULL) {
218
			fprintf(stderr, "Failed conversion of ``%s''"
219
			fprintf(stderr, "Failed conversion of ``%s''"

Return to bug 206752