Changeset b7c6a4a in sasview for fittingview/src/sans


Ignore:
Timestamp:
Sep 30, 2011 8:04:05 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
a86e69b
Parents:
647df0d1
Message:

changed time stamp string format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/pagestate.py

    r8e671c39 rb7c6a4a  
    361361        rep = "\nState name: %s\n"%self.file 
    362362        t = time.localtime(self.timestamp) 
    363         time_str = time.strftime("%b %d %H;%M of %Y", t) 
    364  
    365         rep += "State created on : %s\n"%time_str 
     363        time_str = time.strftime("%H;%M - %b %d - %Y", t) 
     364 
     365        rep += "State created: %s\n"%time_str 
    366366        rep += "State form factor combobox selection: %s\n"%self.formfactorcombobox 
    367367        rep += "State structure factor combobox selection: %s\n"%self.structurecombobox 
     
    463463            except: 
    464464                pass 
    465             if name.count("State created on"): 
    466                 repo_time = "Created on " + value 
     465            if name.count("State created"): 
     466                repo_time = "" + value 
    467467            if name.count("parameter name"): 
    468468                val_name = value.split(".") 
Note: See TracChangeset for help on using the changeset viewer.