Skip to content

Commit

Permalink
Merge pull request #196 from rprouse/issue/195
Browse files Browse the repository at this point in the history
Remove calendar table columns
  • Loading branch information
rprouse authored Oct 23, 2024
2 parents 62cff34 + 6f44cb8 commit f0d2c89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Guppi.Console/Guppi.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageProjectUrl>https://github.com/rprouse/guppi</PackageProjectUrl>
<RepositoryUrl>https://github.com/rprouse/guppi</RepositoryUrl>
<PackageId>dotnet-guppi</PackageId>
<Version>6.2.0</Version>
<Version>6.2.1</Version>
<PackAsTool>true</PackAsTool>
<ToolCommandName>guppi</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
Expand Down
7 changes: 4 additions & 3 deletions Guppi.Console/Skills/CalendarSkill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ private async Task Agenda(DateTime now, string title, bool markdown, bool table)

if (table)
{
sb.AppendLine("| Time | Meeting | Participants | Objective |");
sb.AppendLine("| ---- | ------- | ------------ | --------- |");
sb.AppendLine("| Time | Meeting |");
sb.AppendLine("| ---- | ------- |");
AnsiConsole.Write(sb.ToString());
}

try
Expand Down Expand Up @@ -194,7 +195,7 @@ private static bool DisplayEvent(Core.Entities.Calendar.Event eventItem, bool ma

if (table)
{
var line = $"| {eventItem.Start.GetEmoji()} **{start}{end}** | {TableLinkedSummary(eventItem)} | | |";
var line = $"| {eventItem.Start.GetEmoji()} **{start}{end}** | {TableLinkedSummary(eventItem)} |";
markdownBuffer.AppendLine(line);
AnsiConsole.WriteLine(line);
}
Expand Down

0 comments on commit f0d2c89

Please sign in to comment.