Skip to content

Commit 573e8c3

Browse files
author
ochafik
committed
fix merge
1 parent ad07a3b commit 573e8c3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

common/chat.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,6 @@ std::vector<common_chat_msg_diff> common_chat_msg_diff::compute_diffs(const comm
116116
return diffs;
117117
}
118118

119-
static std::string format_time(const std::chrono::system_clock::time_point & now, const std::string & format) {
120-
auto time = std::chrono::system_clock::to_time_t(now);
121-
auto local_time = *std::localtime(&time);
122-
std::ostringstream ss;
123-
ss << std::put_time(&local_time, format.c_str());
124-
auto res = ss.str();
125-
return res;
126-
}
127-
128119
typedef minja::chat_template common_chat_template;
129120

130121
struct common_chat_templates {

0 commit comments

Comments
 (0)