- This topic has 7 replies, 3 voices, and was last updated 12 years ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to change date format?
Tagged: date format, receipt creator
For example, I want to see D.M.Y instead Y-M-D. What I have to change?
I mean purchase date.
TIA
WP eStore doesn’t have an option to change that unfortunately.
We mostly use the international date format in the plugin:
May be you can tell me where I can change date format in a code?
Check for the following throughout the code and change it to the format that you like:
date ("Y-m-d")
Changing this is not recommended as it has a big chance of breaking the plugin (make sure to keep backups).
is there any reason why it has been created to show the format of Y-m-d? it really doesn’t suit most of the ways that dates automatically display. I did try changing the format of it to d-m-Y but all it did was leave the date field blank throughout processes.
Is there any plan to change this formatting as it really seems quite backward to display a date on a receipt as Y-m-d
thanks for your time
MySQL database expects the data format to be “Y-M-D” which is why all data data is stored in that format. This doesn’t meant that the date values that gets shown your your users (on the font end of your site) will have values like that. When you say “receipt” do you mean the output from the receipt creator addon?
yes that’s correct, from the receipt creator addon (sorry for late reply)
Please download a new copy of the receipt creator addon and the date value printed on the receipt should be formatted nicely.