Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 278064 | Differences between
and this patch

Collapse All | Expand All

(-)php/php-src/branches/PHP_5_2/ext/date/php_date.c (-1 / +1 lines)
Lines 798-804 Link Here
798
			/* year */
798
			/* year */
799
			case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break;
799
			case 'L': length = slprintf(buffer, 32, "%d", timelib_is_leap((int) t->y)); break;
800
			case 'y': length = slprintf(buffer, 32, "%02d", (int) t->y % 100); break;
800
			case 'y': length = slprintf(buffer, 32, "%02d", (int) t->y % 100); break;
801
			case 'Y': length = slprintf(buffer, 32, "%s%04ld", t->y < 0 ? "-" : "", llabs(t->y)); break;
801
			case 'Y': length = slprintf(buffer, 32, "%s%04lld", t->y < 0 ? "-" : "", llabs(t->y)); break;
802
802
803
			/* time */
803
			/* time */
804
			case 'a': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "pm" : "am"); break;
804
			case 'a': length = slprintf(buffer, 32, "%s", t->h >= 12 ? "pm" : "am"); break;

Return to bug 278064