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

Fix DESI night definition for nightwatch transfers #31

Merged
merged 2 commits into from Feb 9, 2021

Conversation

weaverba137
Copy link
Member

In previous versions of the KPNO nightwatch transfer script, the DESI night was determined via

(dt.datetime.utcnow() - dt.timedelta(7/24+0.5)).strftime('%Y%m%d')

which got changed to

(dt.datetime.now() - dt.timedelta(7/24+0.5)).strftime('%Y%m%d')

while incorporating the nightwatch transfer code into the package. This PR reverts that change.

@weaverba137 weaverba137 self-assigned this Feb 9, 2021
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 75b766b on nightwatch-night-offset into 9a84866 on master.

@sbailey sbailey merged commit a9ad47f into master Feb 9, 2021
@sbailey sbailey deleted the nightwatch-night-offset branch February 9, 2021 01:39
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.

None yet

3 participants