Time Slider

Every log type in BabyLog uses the same time slider for when did this happen. Most logs need one tap — the slider defaults to now. The features below cover the cases that aren't "right now".


Default behaviour

A bottle feed modal with the start-time pill collapsed at the top, the amount slider expanded in the middle, and notes collapsed at the bottom.
The time field is collapsed by default — the pill at the top shows "now" (here "Yesterday 1:44 AM"). The big slider visible is the amount slider for the bottle feed; the time slider only expands when you tap it.

When you open any log modal:

  • Start time defaults to now. Tap Save and it's logged at this moment.
  • The time field is collapsed so the form is short — it shows up as a one-line pill at the top of the modal. Tap the pill to expand the slider.
  • For logs that have both a start and end (sleep, pumping, feeds), the end time defaults to now and the start time defaults to a sensible offset (e.g. 20 minutes ago for a feed).

That's the path for 90% of logging. Open · save · close.


Adjust by minutes

Tap the time pill to expand the slider and you get a horizontal scroller of nearby times. Drag to nudge by a few minutes — useful when the feed actually started ten minutes ago but you were busy.

The + and buttons on the side step by one minute on a tap; hold them down and they accelerate, jumping in larger increments the longer you hold.


Type a time directly

The time slider showing a numeric keypad for typing a time directly.
Tap the time to bring up a keypad — type "1430" for 2:30 pm.

Tap the time text itself. It becomes an editable field — type a time directly. Accepts 24-hour format (14:30) or 12-hour format (2:30 PM). The slider shows back whichever format you've set (12h / 24h) once you confirm.


The date pill

The time slider after scrolling back past midnight, with a date pill labelling the day as 'Yesterday'.
Scroll the slider past yesterday and a date pill appears so you know which day you're on.

As you scroll the time slider backward and cross midnight, a date pill appears in the slider showing which day you've reached — Yesterday, 2 days ago, the actual date once you go further back.

The pill is informational. It's there so a 3 am scrub doesn't leave you wondering whether you've gone back into yesterday or stayed in today. Keep scrolling to go further; the label updates as you cross each day boundary.


Logging across midnight

The time slider showing a sleep that starts before midnight and ends after, with the duration calculated correctly.
Cross-day sleeps work as one entry — pick a start before midnight and an end after, the duration is correct.

For logs with a start and end — sleep, pumping, feeds — you can span midnight in a single entry. Pick a start time before midnight on one day and an end time after midnight on the next; the slider keeps the dates straight and the duration is calculated correctly.

This matters for sleep summaries: a 9 pm → 5 am stretch is one sleep of eight hours, not two scraps split by the date boundary.


Future time (reminders)

The time slider set to a future time, prompting the user to set this as a reminder instead of a past log.
Setting a future time turns the log into a reminder — BabyLog asks before saving.

The slider can scroll past now into the future. When you do, BabyLog asks whether you want to set a reminder instead of recording a past event.

This is how you set a one-off reminder without leaving the log modal: open the log type you'll need next, drag the time forward, choose "remind me at this time", and BabyLog will push a notification when it's due. Recurring reminders are managed in Settings → Reminders.