MCPcopy Create free account
hub / github.com/couchbase/fleece / writeDateString

Method writeDateString

Fleece/Support/JSONEncoder.cc:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62 void JSONEncoder::writeDateString(int64_t timestamp, bool asUTC) {
63 char str[kFormattedISO8601DateMaxSize];
64 writeString(FormatISO8601Date(str, timestamp, asUTC));
65 }
66
67
68 static inline bool canBeUnquotedJSON5Key(slice key) {

Callers

nothing calls this directly

Calls 1

FormatISO8601DateFunction · 0.85

Tested by

no test coverage detected