Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use format yyyyMMdd_HHmmss for current date #52

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Use format yyyyMMdd_HHmmss for current date #52

merged 1 commit into from
Oct 25, 2024

Conversation

MrChocolatine
Copy link
Contributor

@MrChocolatine MrChocolatine commented May 11, 2024

What is it?

  • Bugfix
  • Feature
  • Codebase improvement

Description of the changes in your PR

Use format yyyyMMdd_HHmmss for current date.

This change is a partial effort towards:

Fixes the following issue(s)

Prefix issues with "Fixes FossifyOrg/AppRepo" so that GitHub closes them when this PR is merged (note that each "Fixes #" should be in its own item). For Commons, it should always be in a format like "Fixes FossifyOrg/AppRepo#123" -->

Acknowledgement

@MrChocolatine
Copy link
Contributor Author

Hello

@naveensingh
Copy link
Member

Thanks but you shouldn't work on an issue until needs triage label is removed. It may not always get accepted.

@naveensingh naveensingh merged commit 3788b36 into FossifyOrg:master Oct 25, 2024
@MrChocolatine MrChocolatine deleted the patch-1 branch October 27, 2024 19:04
@RustoMCSpit
Copy link

RustoMCSpit commented Jan 15, 2025

hi all, why was a format without distinction between datapoints selected? i use the 2025_01_15_14_43_23 as thats what the voice recorder has shipped for years now. i know youre "homogenising" and all but can you have an "archaic" dropdown or something. ive been using this file format for so long now and everything i have is organised in it.

@RustoMCSpit
Copy link

RustoMCSpit commented Jan 15, 2025

the below is what is currently used

    val simpleDateFormat = 
SimpleDateFormat("yyyyMMdd_HHmmss", 
Locale.getDefault())

the below is a second option i would like added, it is the exact same but it adds underscores between ALL points rather than just date and time

    val simpleSeparatedDateFormat = 
SimpleDateFormat("yyyy_MM_dd_HH_mm_ss", 
Locale.getDefault())

the below is a different variation of the second option that could be added though i have no need for it, it is the exact same but it separates time and date with a '-'

    val separatedDateFormat = 
SimpleDateFormat("yyyy_MM_dd-HH_mm_ss", 
Locale.getDefault())

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.

Homogenise filenames of manual exports and automatic backups
3 participants