Skip to content

Commit

Permalink
chore: add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jan 11, 2022
1 parent 5faa203 commit 4b5e502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export class Time {
* @param outputType 'abbr' || 'wide' || 'unix' (default choice)
*/
recent(outputType: 'abbr' | 'wide' | 'unix' = 'unix'): string | number {
// TODO @Shinigami92 2022-01-11: This is not non-deterministic
// https://github.com/faker-js/faker/pull/74/files#r781579842
let date: string | number | Date = new Date();

switch (outputType) {
Expand Down

0 comments on commit 4b5e502

Please sign in to comment.