mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
assignment sync
This commit is contained in:
@@ -142,9 +142,9 @@ public static partial class AssignmentSyncronizationExtensions
|
|||||||
: new DateTime();
|
: new DateTime();
|
||||||
var localComparisonLockDate = canvasAssignment.LockAt != null
|
var localComparisonLockDate = canvasAssignment.LockAt != null
|
||||||
? new DateTime(
|
? new DateTime(
|
||||||
year: localAssignment.LockAt?.Year ?? 0,
|
year: localAssignment.LockAt?.Year ?? 1,
|
||||||
month: localAssignment.LockAt?.Month ?? 0,
|
month: localAssignment.LockAt?.Month ?? 1,
|
||||||
day: localAssignment.LockAt?.Day ?? 0,
|
day: localAssignment.LockAt?.Day ?? 1,
|
||||||
hour: localAssignment.LockAt?.Hour ?? 0,
|
hour: localAssignment.LockAt?.Hour ?? 0,
|
||||||
minute: localAssignment.LockAt?.Minute ?? 0,
|
minute: localAssignment.LockAt?.Minute ?? 0,
|
||||||
second: localAssignment.LockAt?.Second ?? 0
|
second: localAssignment.LockAt?.Second ?? 0
|
||||||
|
|||||||
@@ -66,10 +66,8 @@ public class FileStorageManager
|
|||||||
{
|
{
|
||||||
Console.WriteLine($"deleting extra module directory, it was probably renamed {moduleDirectoryPath}");
|
Console.WriteLine($"deleting extra module directory, it was probably renamed {moduleDirectoryPath}");
|
||||||
Directory.Delete(moduleDirectoryPath, true);
|
Directory.Delete(moduleDirectoryPath, true);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async Task saveSettings(LocalCourse course, string courseDirectory)
|
private static async Task saveSettings(LocalCourse course, string courseDirectory)
|
||||||
|
|||||||
Reference in New Issue
Block a user