Skip to content

Commit

Permalink
Fix wrong version number in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Sep 3, 2024
1 parent 0f54fdf commit 41e3b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BSON/UTCDateTime.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static PHP_METHOD(MongoDB_BSON_UTCDateTime, toDateTime)
usec = 1000000 - usec;
}

/* TODO PHP 8.1.6+: microseconds can be included in the format string */
/* TODO PHP 8.1.7+: microseconds can be included in the format string */
sec_len = spprintf(&sec_str, 0, "@%" PRId64, sec);
php_date_initialize(datetime_obj, sec_str, sec_len, NULL, NULL, 0);
efree(sec_str);
Expand Down

0 comments on commit 41e3b9a

Please sign in to comment.