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

Commit2b47146

Browse files
committed
interval_out failed to mention 'ago' for negative intervals in SQL and
GERMAN datestyles. Ancient bug reported by Terry Lee Tucker.
1 parent643bb81 commit2b47146

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-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.87.2.3 2003/01/26 22:33:16 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.87.2.4 2005/01/11 18:34:41 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3448,7 +3448,7 @@ EncodeTimeSpan(struct tm * tm, double fsec, int style, char *str)
34483448
cp+=strlen(cp);
34493449
}
34503450

3451-
if (is_before&& (style==USE_POSTGRES_DATES))
3451+
if (is_before&& (style!=USE_ISO_DATES))
34523452
{
34533453
strcat(cp," ago");
34543454
cp+=strlen(cp);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp