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

Commit96e0ccc

Browse files
committed
Fix incorrect comment: pgtime's tm_mon is 1-based, not 0-based.
The comments in formatting.c already said that tm_mon was 1-based not0-based, but the comments here disagreed.Dmitry Fedin
1 parent52df342 commit96e0ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/pgtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct pg_tm
2828
inttm_min;
2929
inttm_hour;
3030
inttm_mday;
31-
inttm_mon;/* origin0, not1 */
31+
inttm_mon;/* origin1, not0! */
3232
inttm_year;/* relative to 1900 */
3333
inttm_wday;
3434
inttm_yday;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp