Skip to content

Commit 8c76bc5

Browse files
committed
fix: Rename mg_zoned_date_time_make to mg_date_time_make
As bolt seems to refer to these throughout as `date_time`
1 parent b8448ac commit 8c76bc5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/mgclient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ MGCLIENT_EXPORT void mg_date_time_zone_id_destroy(
962962

963963
/// Creates mg_date_time from seconds, nanoseconds and timezone offset.
964964
/// \return a pointer to mg_date_time or NULL if an error occurred.
965-
MGCLIENT_EXPORT mg_date_time *mg_zoned_date_time_make(
965+
MGCLIENT_EXPORT mg_date_time *mg_date_time_make(
966966
int64_t seconds, int64_t nanoseconds, int32_t tz_offset_minutes);
967967

968968
/// Creates mg_local_date_time from seconds and nanoseconds.

src/mgvalue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ mg_local_time *mg_local_time_make(int64_t nanoseconds) {
16571657
return lt;
16581658
}
16591659

1660-
mg_date_time *mg_zoned_date_time_make(int64_t seconds, int64_t nanoseconds,
1660+
mg_date_time *mg_date_time_make(int64_t seconds, int64_t nanoseconds,
16611661
int32_t tz_offset_minutes) {
16621662
mg_date_time *dt = mg_date_time_alloc(&mg_system_allocator);
16631663
if (!dt) {

0 commit comments

Comments
 (0)