I've a question about dates on the system because I've some issues with it.
My problem is the following:
My timezone is:
I don't have issues with datetimes because my users have GMT(-4) too, but my problem is with dates, for example, if I'm creating a payment through invoice date field is automatically filled but looking through the code default date is:
'date': lambda *a: time.strftime('%Y-%m-%d'),
so it's ok, but problem happens when someone creates a payment after 20:00 GMT(-4), because it's filled with the date of the next date.
Is there something I can do about this? Payments should not have other date.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/16/14, 12:12 PM|
|Seen: 1089 times|
|Last updated: 3/16/15, 8:10 AM|