Browse Source

Aligns with relative date formatting

main
Eric Amodio 4 years ago
parent
commit
126bdc0280
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/views/nodes/helpers.ts

+ 2
- 2
src/views/nodes/helpers.ts View File

@ -6,8 +6,8 @@ import { ViewNode } from './viewNode';
const markers: [number, string][] = [
[0, 'Less than a week ago'],
[7, 'Over a week ago'],
[30, 'Over a month ago'],
[90, 'Over 3 months ago'],
[25, 'Over a month ago'],
[77, 'Over 3 months ago'],
];
export function* insertDateMarkers<T extends ViewNode & { commit: GitLogCommit }>(

Loading…
Cancel
Save