mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
19 lines
651 B
TypeScript
19 lines
651 B
TypeScript
import { defineTool } from '@tools/defineTool';
|
|
import { lazy } from 'react';
|
|
|
|
export const tool = defineTool('time', {
|
|
name: 'Check Leap Years',
|
|
path: 'check-leap-years',
|
|
icon: 'material-symbols:calendar-month',
|
|
description:
|
|
'Check if a year is a leap year. Enter a year to determine if it has 366 days instead of 365.',
|
|
shortDescription: 'Check if a year is a leap year',
|
|
keywords: ['leap', 'year', 'calendar', 'date'],
|
|
component: lazy(() => import('./index')),
|
|
i18n: {
|
|
name: 'time.checkLeapYears.name',
|
|
description: 'time.checkLeapYears.description',
|
|
shortDescription: 'time.checkLeapYears.shortDescription'
|
|
}
|
|
});
|