Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Fleece/Core/Encoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ namespace fleece { namespace impl {

void Encoder::writeDateString(int64_t timestamp, bool asUTC) {
char str[kFormattedISO8601DateMaxSize];
writeString(FormatISO8601Date(str, timestamp, asUTC));
writeString(FormatISO8601Date(str, timestamp, asUTC, nullptr));
}


Expand Down
2 changes: 1 addition & 1 deletion Fleece/Support/JSONEncoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace fleece { namespace impl {

void JSONEncoder::writeDateString(int64_t timestamp, bool asUTC) {
char str[kFormattedISO8601DateMaxSize];
writeString(FormatISO8601Date(str, timestamp, asUTC));
writeString(FormatISO8601Date(str, timestamp, asUTC, nullptr));
}


Expand Down
Loading