Skip to content

Conversation

DanLipsitt
Copy link

This change allows debianize to run on MacOS (and probably other BSD-based platforms). The BSD date command does not have the -R flag previously used by this function.

@DanLipsitt
Copy link
Author

Already pushed the import line fix. Would you like me to squash?

@p1otr
Copy link
Contributor

p1otr commented May 5, 2015

I'd squash it, yes

@DanLipsitt DanLipsitt force-pushed the feature/native-822-date branch from 4c3e4fe to 0383e87 Compare May 6, 2015 19:43
@DanLipsitt
Copy link
Author

Squashed.

args = [cmd,'-R']
result = get_cmd_stdout(args).strip()
"""return date string in rfc 822 format"""
result = formatdate()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this pass localtime=True to maintain the exact behavior of date -R?

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.

3 participants