mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-28 00:36:00 +00:00
Switch from DateTime to DateTimeOffset
This commit is contained in:
@@ -267,7 +267,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
{
|
||||
// Generate default file name
|
||||
var fileName = ExportHelper.GetDefaultExportFileName(dialog.SelectedFormat, dialog.Guild,
|
||||
channel, dialog.From, dialog.To);
|
||||
channel, dialog.After, dialog.Before);
|
||||
|
||||
// Combine paths
|
||||
filePath = Path.Combine(filePath, fileName);
|
||||
@@ -275,7 +275,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
|
||||
// Get chat log
|
||||
var chatLog = await _dataService.GetChatLogAsync(token, dialog.Guild, channel,
|
||||
dialog.From, dialog.To, operation);
|
||||
dialog.After, dialog.Before, operation);
|
||||
|
||||
// Export
|
||||
await _exportService.ExportChatLogAsync(chatLog, filePath, dialog.SelectedFormat,
|
||||
|
||||
Reference in New Issue
Block a user