Format attribute not working on DateTimeField and DateField serializers
darcivieira opened this issue · 3 comments
darcivieira commented
Hey
With a DateField or DateTimeField serializers, I'm not able to use the format attribute to manipulate date to get my own output.
rptmat57 commented
I am going to fix the readme information which is not accurate, it is using the old format.
here is an example on how to use it (see openpyx formats)
column_data_styles = {
'created_datetime': {
'format': 'd.m.y h:mm'
},
}
rptmat57 commented
@darcivieira please confirm that it works when you get a chance
willtho89 commented
No more response. Fixed readme is correct 👍