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

Provide end_time for active choice month if not unlocked #117

Open
UncleGoogle opened this issue May 22, 2020 · 0 comments
Open

Provide end_time for active choice month if not unlocked #117

UncleGoogle opened this issue May 22, 2020 · 0 comments
Labels
enhancement New feature or request gog-issue Issue caused, blocked by or related to GOG Galaxy or its API

Comments

@UncleGoogle
Copy link
Owner

Active sub. content ends next month-first Friday at 10 PT.

This may be useful:

def find_first_friday(y, m):
    dt = datetime.date(y, m, 1)
    next_friday = (1 + (4 - dt.weekday())) % 7
    dt.replace(day=next_friday)
    return dt

or

"navbarOptions": {"activeContentEndDate|datetime": "2020-06-05T17:00:00"

from webpack marketing_data in humblebundle.com/subscription

Currently Galaxy not uses this info yet.

@UncleGoogle UncleGoogle added enhancement New feature or request gog-issue Issue caused, blocked by or related to GOG Galaxy or its API labels Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gog-issue Issue caused, blocked by or related to GOG Galaxy or its API
Projects
None yet
Development

No branches or pull requests

1 participant