feat: convert-days-to-hours (time tools)

This commit is contained in:
Chesterkxng
2025-03-24 20:23:28 +00:00
parent 330e24e27d
commit 3c51268397
9 changed files with 183 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('time', {
path: 'convert-days-to-hours',
name: 'Convert Days to Hours',
icon: 'ri:24-hours-line',
description: 'A tool to convert days into hours.',
shortDescription: 'Convert days to hours easily.',
keywords: ['convert', 'days', 'hours'],
longDescription:
'This is a quick online utility for converting days to hours. One day is 24 hours and to convert days to hours, we simply do the multiplication operation: hours = days × 24. For example, 2 days is 2 × 24 = 48 hours and 5 days is 5 × 24 = 120 hours. You can convert not only full days to hours but also fractional day values. For example, 1.5 days is 1.5 × 24 = 36 hours and 4.6 days is 4.6 × 24 = 110.4 hours. You can enter multiple days in the input field (one value per line). In this case, they will all be computed in parallel and at once. The program also supports the postfix "days" or "d" for the input values and you can add the postfix "hours" to the output values. Timeabulous!',
component: lazy(() => import('./index'))
});