Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97e7f63

Browse files
committed
Improve zero-year comments.
1 parent07d7f47 commit97e7f63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/datetime.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.201 2009/03/17 18:35:26 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.202 2009/03/17 18:39:39 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2264,7 +2264,7 @@ ValidateDate(int fmask, bool is2digits, bool bc, struct pg_tm * tm)
22642264
}
22652265
elseif (is2digits)
22662266
{
2267-
/*allow2-digit inputfor 1970-2069 AD;'0'or '00' is allowed */
2267+
/*process 1 or2-digit inputas 1970-2069 AD, allow'0'and '00' */
22682268
if (tm->tm_year<0)/* just paranoia */
22692269
returnDTERR_FIELD_OVERFLOW;
22702270
if (tm->tm_year<70)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp