|
@@ -35,7 +35,7 @@ class PosSales(http.Controller):
|
|
|
Get server date
|
|
|
'''
|
|
|
def get_server_date(self):
|
|
|
- return datetime.now().strftime(DATE_FORMAT)
|
|
|
+ return datetime.utcnow().strftime(DATE_FORMAT)
|
|
|
|
|
|
'''
|
|
|
Get current user information
|
|
@@ -583,7 +583,7 @@ class PosSales(http.Controller):
|
|
|
self.make_info_log('Processing sale...')
|
|
|
|
|
|
# Get date
|
|
|
- date_now = datetime.now().strftime(DATE_FORMAT)
|
|
|
+ date_now = datetime.utcnow().strftime(DATE_FORMAT)
|
|
|
self.make_info_log('[OK] Getting date')
|
|
|
|
|
|
# Get currency
|