robogals / myrobogals

myRobogals is the global intranet and record-keeping tool for Robogals. It has been built to simplify many of our day-to-day tasks including organising school visits, maintaining a member database, communicating with members, storing records reliably for future generations and easily collecting statistics on a global scale.
https://my.robogals.org
10 stars 21 forks source link

replace datetime.datetime.now() with datetime.datetime.utcnow() #35

Closed yfcheung closed 11 years ago

yfcheung commented 12 years ago

Is it safe to replace datetime.datetime.now() with datetime.datetime.utcnow()?

U-238 commented 12 years ago

It is safe to replace datetime.datetime.now() with datetime.datetime.utcnow(). On live server the local time is set to UTC.

U-238 commented 11 years ago

This is not an issue on the live server because the live server's clock is set to UTC. As such, now() and utcnow() are the same value on the live server. So I'll close this.