浏览代码

Log exact times frames within which the photos are fetched

Vishnu Mohandas 4 年之前
父节点
当前提交
89f201161c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/services/sync_service.dart

+ 2 - 2
lib/services/sync_service.dart

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