android_income_sms_gateway_webhook icon indicating copy to clipboard operation
android_income_sms_gateway_webhook copied to clipboard

Feature Request: Date Format

Open o-data opened this issue 1 year ago • 3 comments

Can we customize or allow for different type of date?

With my other app they only access date format as follow: YYYY-MM-DD HH:MM:SS

Currently the App is using Unix time which is good but I can't seem to convert it to a different format (ie. the above format).

PS: Thank you for creating this App!

o-data avatar Apr 04 '23 07:04 o-data

https://stackoverflow.com/a/6078873

Its pretty easy to convert this raw unix timestamp to anything. Create a new instance of date from it, and get YYYY MM DD HH MM SS TTT or any combination.

davchana avatar Oct 28 '23 20:10 davchana

Thanks @davchana , would you be able to provide a brief step by step? And look like I would also need to be able to re-build the APK as well?

o-data avatar Oct 30 '23 10:10 o-data

here's a PR with the feature: https://github.com/bogkonstantin/android_income_sms_gateway_webhook/pull/66

pmalecka avatar Feb 09 '24 13:02 pmalecka