Skip to content

Commit

Permalink
reminder report culture
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed May 11, 2024
1 parent 96964c3 commit 15ee20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneMore/Commands/Reminders/ReportRemindersCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private async Task<bool> CollectReminders(OneNote.Scope scope)
return false;
}

var culture = System.Globalization.CultureInfo.CurrentUICulture;
var culture = AddIn.Culture;
var calendar = culture.Calendar;
var weekRule = culture.DateTimeFormat.CalendarWeekRule;
var firstDay = culture.DateTimeFormat.FirstDayOfWeek;
Expand Down

0 comments on commit 15ee20c

Please sign in to comment.