1// NB(shrugs): if we get any more complicated with dates, add `luxon`
2export const formatDots = date => {
3 const year = date.getFullYear();
4 const month = `${date.getMonth() + 1}`.padStart(2, 0);
5 const day = `${date.getDate()}`.padStart(2, 0);
7 return [year, month, day].join('.');
10export const formatTime = date => date.toLocaleTimeString();
12export const formatDotsWithTime = date =>
13 `${formatDots(date)} ${formatTime(date)}`;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list