Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update misc. date-time representations to ISO 8601 #967

Merged

Conversation

benfitzpatrick
Copy link
Contributor

This updates all remaining date-time representations in cylc to
use ISO 8601, including time zone information if useful.

@matthewrmshin, please review.

@@ -60,15 +63,19 @@ def get_stop_state_summary(suite, owner=None, hostname=None, lines=None ):
if line0.startswith( 'suite time' ) or \
line0.startswith( 'simulation time' ):
# backward compatibility with pre-5.4.11 state dumps
time_string = line0.rstrip().split(' : ')[1]
global_summary["last_updated"] = time.time()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work, now that import time is removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-added the import time.

matthewrmshin added a commit that referenced this pull request Jun 5, 2014
Update misc. date-time representations to ISO 8601
@matthewrmshin matthewrmshin merged commit 6903c15 into cylc:119.iso8601-cycling Jun 5, 2014
@benfitzpatrick benfitzpatrick deleted the iso8601.tweaks branch August 20, 2014 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants