feat(server): display date in yyyy-MM-dd format on email (#10916)

This commit is contained in:
fengmk2
2025-03-18 01:00:13 +00:00
parent 3f0981a6fa
commit 4a3180ee04
10 changed files with 39 additions and 27 deletions
@@ -0,0 +1,11 @@
import { format } from 'date-fns';
import { Bold } from './template';
export interface DateProps {
value: Date;
}
export const IOSDate = (props: DateProps) => {
return <Bold>{format(props.value, 'yyyy-MM-dd')}</Bold>;
};
@@ -1,3 +1,4 @@
export * from './date';
export * from './template';
export * from './user';
export * from './workspace';