Skip to content

Error when Using Time like 00:00:00 #11

@yangyaofei

Description

@yangyaofei

In here

}
if (request.getFromTimestamp().isPresent()) {
QueryStringMapper.addQueryParameter(httpUrl, "fromTimestamp", request.getFromTimestamp().get().toString(), false);
}
if (request.getToTimestamp().isPresent()) {
QueryStringMapper.addQueryParameter(httpUrl, "toTimestamp", request.getToTimestamp().get().toString(), false);
}

The Timestamp using OffsetDatetime::toString, when the time like: 1900-01-01T00:00:00.000

toString will get 1900-01-01T00:00 (shorter) which will make langfuse server return error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions