This commit is contained in:
Nicolás Sánchez 2024-12-14 08:24:14 -03:00
parent c2ad8f49a4
commit f4e6192cac
3 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2024-12-10T18:54:23.469267166Z">
<DropdownSelection timestamp="2024-12-14T00:25:48.089854994Z">
<Target type="DEFAULT_BOOT">
<handle>
<DeviceId pluginId="LocalEmulator" identifier="path=/home/nicolas/.android/avd/Pixel_6_Pro_API_34.avd" />

View File

@ -207,7 +207,7 @@ public class InstanceInterface {
}
//Collections.reverse(logList);
return joinWithLineLimit("\n",globalSettings.amountOfLogLines,logList);
return joinWithLineLimit(" ",globalSettings.amountOfLogLines,logList);
}
}

View File

@ -499,12 +499,12 @@ public class HomeFragment extends Fragment {
});
}
public static String timeStampConverter(double timestamp) {
long linuxTimestamp = (long) timestamp; // Replace with your timestamp
Date date = new Date(linuxTimestamp * 1000); // Multiply by 1000 to convert to milliseconds
@SuppressLint("SimpleDateFormat") SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return formatter.format(date);
}
public static String timeStampConverter(double timestamp) {
long linuxTimestamp = (long) timestamp; // Replace with your timestamp
Date date = new Date(linuxTimestamp * 1000); // Multiply by 1000 to convert to milliseconds
@SuppressLint("SimpleDateFormat") SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
return formatter.format(date);
}
@Override
public void onDestroyView() {