Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fe73384 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Camera: Fix localtime month formatting" into sc-dev am: 59746518

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15275952

Change-Id: I1ddba3c47a59aa5e2c16bae89611eb1a64e1bfd5
parents b116f5e5 59746518
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1092,7 +1092,7 @@ void Camera3OutputStream::dumpImageToDisk(nsecs_t timestamp,
    time_t now = time(0);
    tm *localTime = localtime(&now);
    snprintf(imageFileName, sizeof(imageFileName), "IMG_%4d%02d%02d_%02d%02d%02d_%" PRId64 ".%s",
            1900 + localTime->tm_year, localTime->tm_mon, localTime->tm_mday,
            1900 + localTime->tm_year, localTime->tm_mon + 1, localTime->tm_mday,
            localTime->tm_hour, localTime->tm_min, localTime->tm_sec,
            timestamp, fileExtension.c_str());