Default to UTC given no system in member lists
This commit is contained in:
parent
7e8e1f1b8c
commit
5075565d2f
@ -2,6 +2,8 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using NodaTime;
|
||||
|
||||
using PluralKit.Core;
|
||||
|
||||
namespace PluralKit.Bot
|
||||
@ -33,7 +35,7 @@ namespace PluralKit.Bot
|
||||
(eb, ms) =>
|
||||
{
|
||||
eb.WithFooter($"{opts.CreateFilterString()}. {members.Count} results.");
|
||||
renderer.RenderPage(eb, ctx.System.Zone, ms);
|
||||
renderer.RenderPage(eb, ctx.System?.Zone ?? DateTimeZone.Utc, ms);
|
||||
return Task.CompletedTask;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user