Parcourir la source

Log exact times frames within which the photos are fetched

Vishnu Mohandas il y a 4 ans
Parent
commit
89f201161c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      lib/services/sync_service.dart

+ 2 - 2
lib/services/sync_service.dart

@@ -175,9 +175,9 @@ class SyncService {
   Future<void> _loadAndStorePhotos(
   Future<void> _loadAndStorePhotos(
       int fromTime, int toTime, Set<String> existingLocalFileIDs) async {
       int fromTime, int toTime, Set<String> existingLocalFileIDs) async {
     _logger.info("Loading photos from " +
     _logger.info("Loading photos from " +
-        getMonthAndYear(DateTime.fromMicrosecondsSinceEpoch(fromTime)) +
+        DateTime.fromMicrosecondsSinceEpoch(fromTime).toString() +
         " to " +
         " to " +
-        getMonthAndYear(DateTime.fromMicrosecondsSinceEpoch(toTime)));
+        DateTime.fromMicrosecondsSinceEpoch(toTime).toString());
     final files = await getDeviceFiles(fromTime, toTime);
     final files = await getDeviceFiles(fromTime, toTime);
     if (files.isNotEmpty) {
     if (files.isNotEmpty) {
       Bus.instance.fire(SyncStatusUpdate(SyncStatus.applying_local_diff));
       Bus.instance.fire(SyncStatusUpdate(SyncStatus.applying_local_diff));