mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-27 10:11:13 +00:00
[AZ-1126] Migrate capturedAt to DateTimeOffset
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -157,9 +157,7 @@ public sealed class UavTileUploadHandler : IUavTileUploadHandler
|
||||
var imageArray = imageBytes.ToArray();
|
||||
await File.WriteAllBytesAsync(filePath, imageArray, cancellationToken);
|
||||
|
||||
var capturedAtUtc = metadata.CapturedAt.Kind == DateTimeKind.Utc
|
||||
? metadata.CapturedAt
|
||||
: metadata.CapturedAt.ToUniversalTime();
|
||||
var capturedAtUtc = metadata.CapturedAt.UtcDateTime;
|
||||
var now = _timeProvider.GetUtcNow().UtcDateTime;
|
||||
|
||||
// AZ-503: deterministic id from (z, x, y, source, flight_id-or-zero) and
|
||||
|
||||
Reference in New Issue
Block a user