mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-10 21:10:54 +01:00
add todo
This commit is contained in:
parent
4ee8ae9e9a
commit
114d441b6b
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ export const calculateTimeLeft = (date: Date) => {
|
||||||
return { days, hours, minutes, seconds };
|
return { days, hours, minutes, seconds };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* TODO: Refactor to support pluralization of other languages */
|
||||||
export const calculateTimeLeftString = (date: Date) => {
|
export const calculateTimeLeftString = (date: Date) => {
|
||||||
const { days, hours, minutes, seconds } = calculateTimeLeft(date);
|
const { days, hours, minutes, seconds } = calculateTimeLeft(date);
|
||||||
const daysString =
|
const daysString =
|
||||||
|
|
Loading…
Add table
Reference in a new issue