- Timestamp:
- Oct 7, 2021, 9:57:42 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/msgstore_fs.go
r608 r610 384 384 385 385 func (ms *fsMessageStore) LoadBeforeTime(network *network, entity string, start time.Time, end time.Time, limit int) ([]*irc.Message, error) { 386 start = start.In(time.Local) 387 end = end.In(time.Local) 386 388 history := make([]*irc.Message, limit) 387 389 remaining := limit … … 407 409 408 410 func (ms *fsMessageStore) LoadAfterTime(network *network, entity string, start time.Time, end time.Time, limit int) ([]*irc.Message, error) { 411 start = start.In(time.Local) 412 end = end.In(time.Local) 409 413 var history []*irc.Message 410 414 remaining := limit … … 473 477 474 478 func (ms *fsMessageStore) ListTargets(network *network, start, end time.Time, limit int) ([]chatHistoryTarget, error) { 479 start = start.In(time.Local) 480 end = end.In(time.Local) 475 481 rootPath := filepath.Join(ms.root, escapeFilename(network.GetName())) 476 482 root, err := os.Open(rootPath)
Note:
See TracChangeset
for help on using the changeset viewer.