Skip to content

Commit e55da54

Browse files
author
taras
committed
Change . to , in default asctime formatting
1 parent a5a5e9b commit e55da54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/picologging/formatter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ PyObject* Formatter_format(Formatter *self, PyObject *record){
138138
asctime = PyUnicode_FromStringAndSize(buf, len);
139139
} else {
140140
size_t len = strftime(buf, sizeof(buf), "%F %T" , ct);
141-
len += snprintf(buf + len, sizeof(buf) - len, ".%03d", static_cast<int>(createdFrac * 1e3));
141+
len += snprintf(buf + len, sizeof(buf) - len, ",%03d", static_cast<int>(createdFrac * 1e3));
142142
asctime = PyUnicode_FromStringAndSize(buf, len);
143143
}
144144

0 commit comments

Comments
 (0)