maxkrieger / voiceliner

Braindump better.
https://a9.io/voiceliner
GNU Affero General Public License v3.0
627 stars 42 forks source link

Alternative date syntax? #101

Open kevfrost opened 1 year ago

kevfrost commented 1 year ago

App only allows MM/DD/YY syntax which is confusing to those where DD/MM/yY is the norm

ShivamMenda commented 1 year ago

Hey @maxkrieger I would like to help you out on this. Can you explain more about the issue so that i can take it up?

JohanPotgieter commented 1 year ago

I have the same issue. The dates used for the headings of the files and export are all MM/DD/YYYY. This is fine for American but Europe and Australia uses DD/MM/YYYY. if there wad a way to choose your own format for the date that would be great.

maxkrieger commented 1 year ago

Hey @ShivamMenda!

We'd want to stringify the following dates according to system settings:

https://github.com/maxkrieger/voiceliner/blob/14dbf962371ef3ce3fc0a0dbf6e2dbee72bdacbc/lib/views/outlines_view.dart#L27

https://github.com/maxkrieger/voiceliner/blob/14dbf962371ef3ce3fc0a0dbf6e2dbee72bdacbc/lib/widgets/markdown_exporter.dart#L52

https://github.com/maxkrieger/voiceliner/blob/14dbf962371ef3ce3fc0a0dbf6e2dbee72bdacbc/lib/views/timeline_view.dart#L45

Something like this: https://stackoverflow.com/a/67078607/10833799