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

(-)date.c (+1 lines)
Lines 192-197 Link Here
192
192
193
	if (fmt != NULL) {
193
	if (fmt != NULL) {
194
		lt = localtime(&tval);
194
		lt = localtime(&tval);
195
		lt->tm_mday = 1;
195
		t = strptime(p, fmt, lt);
196
		t = strptime(p, fmt, lt);
196
		if (t == NULL) {
197
		if (t == NULL) {
197
			fprintf(stderr, "Failed conversion of ``%s''"
198
			fprintf(stderr, "Failed conversion of ``%s''"

Return to bug 28313