Issue 17774 - Usage - Local - Show data from midnight to midnight of selected dates for browser time zone (AI assisted) (openclaw#19357) thanks @huntharo

Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test:macmini (override approved by Tak for this run; local baseline failures outside PR scope)

Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
Harold Hunt
2026-02-20 21:09:03 -05:00
committed by GitHub
parent 02ac5b59d1
commit 844d84a7f5
9 changed files with 635 additions and 40 deletions

View File

@@ -1226,6 +1226,8 @@ public struct SessionsUsageParams: Codable, Sendable {
public let key: String?
public let startdate: String?
public let enddate: String?
public let mode: AnyCodable?
public let utcoffset: String?
public let limit: Int?
public let includecontextweight: Bool?
@@ -1233,12 +1235,16 @@ public struct SessionsUsageParams: Codable, Sendable {
key: String?,
startdate: String?,
enddate: String?,
mode: AnyCodable?,
utcoffset: String?,
limit: Int?,
includecontextweight: Bool?
) {
self.key = key
self.startdate = startdate
self.enddate = enddate
self.mode = mode
self.utcoffset = utcoffset
self.limit = limit
self.includecontextweight = includecontextweight
}
@@ -1246,6 +1252,8 @@ public struct SessionsUsageParams: Codable, Sendable {
case key
case startdate = "startDate"
case enddate = "endDate"
case mode
case utcoffset = "utcOffset"
case limit
case includecontextweight = "includeContextWeight"
}

View File

@@ -1226,6 +1226,8 @@ public struct SessionsUsageParams: Codable, Sendable {
public let key: String?
public let startdate: String?
public let enddate: String?
public let mode: AnyCodable?
public let utcoffset: String?
public let limit: Int?
public let includecontextweight: Bool?
@@ -1233,12 +1235,16 @@ public struct SessionsUsageParams: Codable, Sendable {
key: String?,
startdate: String?,
enddate: String?,
mode: AnyCodable?,
utcoffset: String?,
limit: Int?,
includecontextweight: Bool?
) {
self.key = key
self.startdate = startdate
self.enddate = enddate
self.mode = mode
self.utcoffset = utcoffset
self.limit = limit
self.includecontextweight = includecontextweight
}
@@ -1246,6 +1252,8 @@ public struct SessionsUsageParams: Codable, Sendable {
case key
case startdate = "startDate"
case enddate = "endDate"
case mode
case utcoffset = "utcOffset"
case limit
case includecontextweight = "includeContextWeight"
}