I have written a group of programs to sync Microsoft Outlook with Nokia apps. I am syncing Outlook Notes with mNotes. I needed to modify mNotes to make this happen because there was no ‘lastmodified’ date/time stamp being maintained for each record. I would prefer if the official version of mNotes worked for what I want to do. I modified mnotes_framework.py in save_to_db to set the google_updated field to be the current date/time using the following statement:
I have written a group of programs to sync Microsoft Outlook with Nokia apps. I am syncing Outlook Notes with mNotes. I needed to modify mNotes to make this happen because there was no ‘lastmodified’ date/time stamp being maintained for each record. I would prefer if the official version of mNotes worked for what I want to do. I modified mnotes_framework.py in save_to_db to set the google_updated field to be the current date/time using the following statement:
self.google_updated = ((datetime.datetime.now().replace(tzinfo=dateutil.tz.tzlocal())).astimezone(dateutil.tz.tzutc())).strftime(‘%Y-%m-%dT%H:%M:%S.000Z’)
Near as I can tell, this is what the statement should say anyway.
So what do you think?
Dwayne