climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huiky...@apache.org
Subject [1/2] climate git commit: fixing min and max time
Date Wed, 11 May 2016 02:53:43 GMT
Repository: climate
Updated Branches:
  refs/heads/master 9809bc4f1 -> 2fa36bae6


fixing min and max time


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/e9a7363c
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/e9a7363c
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/e9a7363c

Branch: refs/heads/master
Commit: e9a7363c5734354415862806f5ff7c6310e30cee
Parents: 6c75820
Author: Maziyar Boustani <boustani@jpl.nasa.gov>
Authored: Tue May 10 14:47:17 2016 -0700
Committer: Maziyar Boustani <boustani@jpl.nasa.gov>
Committed: Tue May 10 14:47:17 2016 -0700

----------------------------------------------------------------------
 RCMES/cli_app.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/e9a7363c/RCMES/cli_app.py
----------------------------------------------------------------------
diff --git a/RCMES/cli_app.py b/RCMES/cli_app.py
index 2afea2e..2846c8d 100644
--- a/RCMES/cli_app.py
+++ b/RCMES/cli_app.py
@@ -1157,8 +1157,8 @@ def settings_screen(header):
          option = screen.getstr()
 
          if option == '1':
-              screen.addstr(25, x/2, "Enter Start Time [min time: {0}] (Format YYYY-MM-DD)")
-              screen.addstr(26, x/2, ":".format(fix_min_time))
+              screen.addstr(25, x/2, "Enter Start Time [min time:{0}](Format YYYY-MM-DD)".format(fix_min_time))
+              screen.addstr(26, x/2, ":")
               new_start_time = screen.getstr()
               try:
                    new_start_time = datetime.strptime(new_start_time, '%Y-%m-%d')
@@ -1171,8 +1171,8 @@ def settings_screen(header):
                         note = "Start time has changed successfully. "
               except:
                    note = "Start time has not changed. "
-              screen.addstr(27, x/2, "Enter End Time [max time:{0}] (Format YYYY-MM-DD)")
-              screen.addstr(28, x/2, ":".format(fix_max_time))
+              screen.addstr(27, x/2, "Enter End Time [max time:{0}](Format YYYY-MM-DD)".format(fix_max_time))
+              screen.addstr(28, x/2, ":")
               new_end_time = screen.getstr()
               try:
                    new_end_time = datetime.strptime(new_end_time, '%Y-%m-%d')


Mime
View raw message