Subversion Repositories SmartDukaan

Rev

Rev 8772 | Rev 8836 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8772 Rev 8776
Line 524... Line 524...
524
                    if track_update['TrackingCode'] == 'OFD' :
524
                    if track_update['TrackingCode'] == 'OFD' :
525
                        date_obj = datetime.datetime.strptime(track_update['ExecutionDate'].split(' ')[0],"%m/%d/%Y")
525
                        date_obj = datetime.datetime.strptime(track_update['ExecutionDate'].split(' ')[0],"%m/%d/%Y")
526
                        datestring  = date_obj.strftime("%Y-%m-%d")
526
                        datestring  = date_obj.strftime("%Y-%m-%d")
527
                        timestring = track_update['ExecutionTime']+':00'
527
                        timestring = track_update['ExecutionTime']+':00'
528
                        delivery_date = datestring +' '+ timestring
528
                        delivery_date = datestring +' '+ timestring
529
                        first_atdl_orders[airwaybill_no] = delivery_date
529
                        first_atdl_orders[airwaybill_no] = delivery_date +'|'+ track_update['ServiceEvent']
530
                        break
530
                        break
531
            except:
531
            except:
532
                pass
532
                pass
533
        
533
        
534
    
534