MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / FormatTimestampConstant

Function FormatTimestampConstant

common/constant.cc:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94std::string FormatTimestampConstant(absl::Time value) {
95 return absl::StrCat(
96 "timestamp(\"",
97 absl::FormatTime("%Y-%m-%d%ET%H:%M:%E*SZ", value, absl::UTCTimeZone()),
98 "\")");
99}
100
101} // namespace cel

Callers 1

AbslStringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected