In my application I have a yaml file, which was created in django by using the command ./manage.sh dumpdata. In it the created time is hardcoded like this..
created_on: 2012-08-22 06:17:03.053740
i.e. the time when the yaml file was created by me.
I want it to display the time as the current time or the time when the yaml file was executed at the customer’s end.
Any help will be very much appreciated. Thanks.
These values are for the records that are exported by
dumpdatanot when the file was created. The time the file was created will be part of the file’s meta information that you can read from the file system.To get the time the file was created: