voiceliner icon indicating copy to clipboard operation
voiceliner copied to clipboard

Alternative date syntax?

Open kevfrost opened this issue 1 year ago • 3 comments

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

kevfrost avatar Apr 10 '23 17:04 kevfrost

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?

ShivamMenda avatar Apr 11 '23 17:04 ShivamMenda

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.

JohanPotgieter avatar Apr 16 '23 13:04 JohanPotgieter

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

maxkrieger avatar Apr 17 '23 23:04 maxkrieger