We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5eb9e commit cf109fcCopy full SHA for cf109fc
src/excel.ts
@@ -150,6 +150,21 @@ export const exportmeExcel = ({
150
(item: Record<string, any>, index: number) =>
151
Object.keys(item).map((key) => {
152
const isRowPainted = stripedRows && index % 2 === 0;
153
+ if (typeof item[key] === "number") {
154
+ return {
155
+ v: item[key],
156
+ t: "n",
157
+ s: isRowPainted ? applyStrippedRowStyle(bodyStyle) : bodyStyle,
158
+ };
159
+ }
160
+
161
+ if (item[key] instanceof Date) {
162
163
164
+ t: "d",
165
166
167
168
169
return {
170
v: item[key],
0 commit comments