axlsx icon indicating copy to clipboard operation
axlsx copied to clipboard

Add date format on specific column

Open brijeshs-atharvasystem opened this issue 8 years ago • 2 comments

Hi

I would like add date format on specific column. So by default values are shown based on specific date format. How I can do that?

Thanks Brijesh Shah

brijeshs-atharvasystem avatar Oct 13 '17 07:10 brijeshs-atharvasystem

@brijeshs-atharvasystem If you look at the Examples, search for format_code, and you'll see a relevant example.

EmilyMB avatar Nov 08 '17 15:11 EmilyMB

And here is how to set the style for a whole column: https://github.com/randym/axlsx/blob/master/examples/example.rb#L222-L223

lbraun avatar Mar 17 '20 15:03 lbraun