jmcnamara / rust_xlsxwriter

A Rust library for creating Excel XLSX files.
https://crates.io/crates/rust_xlsxwriter
Apache License 2.0
250 stars 23 forks source link

question: Use formatting without workbook #77

Closed w14 closed 6 months ago

w14 commented 6 months ago

Question

I have a number, like "40,000.123", and I want to format it with a formatting string, like "YYYY-MM-DD hh:mm AM/PM". How do I do that in xlsx_writer? I don't need a full workbook instance.

Just converting an array of numbers to text, no need to write a workbook.

Not sure where to ask this, also did on SO.

jmcnamara commented 6 months ago

Okay. Let's deal with this on Stack Overflow: https://stackoverflow.com/questions/77826803/use-write-with-format-in-isolation