When line starts with time code, new line should start with time code
This is both a bug and a feature request.
People use this app for writing medical diaries, for example when wearing a heart monitor for 72 hours or monitoring food intake after surgery. This may look something like this:
1330 walking 1445 running 1455 sitting, resting
Problem description
Every time you open the diary and add a new line, the last digit is stripped and the remaining number is incremented like so:
1455 sitting, resting 146.
This is counter-productive because now the user has to backspace 4 characters and start writing the actual time: 1500.
:warning: :bug: This is also a bug, because even if the user did write a list, 1456 comes after 1455, not 146.
Proposed solution
- [ ] If military time (i.e.
0945) is detected, start the next line with the current time. For example, if it's now 13:32, the next line should start with1332. - [ ] If the user did not write a period, the new line should not have a period.
The extra mile (don't read this)
Military time is used in live diaries for obvious reasons, but if the next line is automated anyway, you may as well detect any often used time-like start and auto-generate the next line in kind. E.g.:
0945 1332
09:45 13:32
9:45 AM 1:32 PM
Alternatives
- Do nothing when 4 digits are detected, in stead of writing a 3 digit number.
- Increment the whole number, not just the first 3 digits.
- When the number on the current line purposely does not end with a period (
.), the number on the new line should also not end with a period.