diff options
Diffstat (limited to 'src/utils/helpers')
| -rw-r--r-- | src/utils/helpers/dates.ts | 15 | 
1 files changed, 0 insertions, 15 deletions
| diff --git a/src/utils/helpers/dates.ts b/src/utils/helpers/dates.ts index fa167a7..cb56ad2 100644 --- a/src/utils/helpers/dates.ts +++ b/src/utils/helpers/dates.ts @@ -1,4 +1,3 @@ -import { Dates } from '@ts/types/app';  import { settings } from '@utils/config';  /** @@ -39,17 +38,3 @@ export const getFormattedTime = (    return locale === 'fr' ? formattedTime.replace(':', 'h') : formattedTime;  }; - -/** - * Retrieve a Dates object. - * - * @param publication - The publication date. - * @param update - The update date. - * @returns {Dates} A Dates object. - */ -export const getDates = (publication: string, update: string): Dates => { -  return { -    publication: getFormattedDate(publication), -    update: getFormattedDate(update), -  }; -}; | 
