Skip to content

Conversation

@vinmaxx99
Copy link
Member

Fixed #2162

Changes: The GIF files were created with the same filename (GIF.gif) due to which the newly created gif was overwritten to the old gif and only one file was saved at a time ,so I added date and time to the gif filename so that the new files don't overwrite the previous ones.

}
byte[] bytes = createGIFFromImages(bitmaps);
File file = new File(Environment.getExternalStorageDirectory() + "/" + "Phimpme_gifs");
DateFormat dateFormat = new SimpleDateFormat("dMMMyyyy_HHmmss");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should have been ddMMYY_HHmm
We don't want seconds :P

}
byte[] bytes = createGIFFromImages(bitmaps);
File file = new File(Environment.getExternalStorageDirectory() + "/" + "Phimpme_gifs");
DateFormat dateFormat = new SimpleDateFormat("dMMyy_HHmm");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be dd not d

@vinmaxx99
Copy link
Member Author

I am really sorry for the mistakes ,this is my first PR,I will make sure it never happens again in the future.

@abishekvashok abishekvashok merged commit d41ebb0 into fossasia:development Sep 29, 2018
@abishekvashok
Copy link
Member

Thank you

@vinmaxx99 vinmaxx99 deleted the Fixissue#2162 branch September 30, 2018 19:39
pull bot pushed a commit to sahilsaha7773/phimpme-android that referenced this pull request Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants