Commit 89b18bdd authored by Peter Eisentraut's avatar Peter Eisentraut

Fix // comment

parent cf3aeb2f
/* ----------------------------------------------------------------------- /* -----------------------------------------------------------------------
* formatting.c * formatting.c
* *
* $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.125 2007/02/16 03:39:45 momjian Exp $ * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.126 2007/02/16 10:55:47 petere Exp $
* *
* *
* Portions Copyright (c) 1999-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1999-2007, PostgreSQL Global Development Group
...@@ -3561,7 +3561,7 @@ do_to_timestamp(text *date_txt, text *fmt, ...@@ -3561,7 +3561,7 @@ do_to_timestamp(text *date_txt, text *fmt,
*/ */
if (tmfc.iyear) if (tmfc.iyear)
{ {
int j0; // zeroth day of the ISO year, in Julian int j0; /* zeroth day of the ISO year, in Julian */
j0 = isoweek2j(tmfc.iyear, 1) - 1; j0 = isoweek2j(tmfc.iyear, 1) - 1;
j2date(j0 + tmfc.ddd, &tm->tm_year, &tm->tm_mon, &tm->tm_mday); j2date(j0 + tmfc.ddd, &tm->tm_year, &tm->tm_mon, &tm->tm_mday);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment