Priority selection - #277
Draft
movsesyanpv wants to merge 5 commits into
Draft
Conversation
* Fixes for the new season * Fixed an exception * added the rotation for s22 * Fixed an exception * Added Crota's End * Fixed Tess categories * Update fr.json (POEditor.com) * Fixed Xur * Fixed an issue with empty named roles * Added new GoS hash * Fixes for tz autocomplete * Fix for `/set timezone` * Added preliminary weekly summary stuff * Create crowdin.yml * Update crowdin.yml * Update crowdin.yml * Update Crowdin configuration file * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * Added a line * Updated README.md * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * Added weekly summary posts * Added autoposts for weekly summary * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (Russian) * Fixed autopost settings for the new type * Fixed a typo * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (French) * Update topgg.md * Update topgg.md * Fixed Xur's footer * Fixes for the new season * ToO fixes * Version bump * Fixes for rotations * Added more lost sectors * Added more Iron Banner modes * Added missing lost sectors * Trying to fix an issue that shouldn't exist * Added NF weapon * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (Russian) (#270) * Fix for Ada's shaders premature deletion * Fixed forced updates for shaders * New translations en.json (French) (#271) * New translations en.json (French) (#272) * Added new site updaters * New Crowdin updates (#273) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (Russian) (#274) * Added localization to new site updaters * Removed a print statement * Version bump * Fixed id of weekly ev speculation * Fixed ev for the site * Kinda fixed None player names * Non-existing profiles cleanup added * Fixed error code check * Fix for None names for non-clan players * Added fixing NULL members * Minor improvements to updater * Update destiny2data.py * Update destiny2data.py Changed ev order * Ev fixes for TFS * Fixed raids and nf * Fixed Xur * Update en.json * Version bump * Fixed global leaderboards with stale data * Added lost sector rotation * Added lines * Changed lines * Xur rework * New Crowdin updates (#275) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (French) * New translations en.json (Russian) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (German) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Polish) * New translations en.json (Russian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Spanish, Mexico) * New translations en.json (Russian) * Fixed Hawkmoon for the site * Fixed empty fields on the site * Fixed Xur grid size * Added lastSeen field to playermetrics * Fix for private progressions * Added new raid and crucible modes * Fixed wsummary * Added support for lost sectors from the API responses --------- Co-authored-by: Pavel <movsesyanpv@gmail.com>
movsesyanpv
marked this pull request as draft
July 28, 2024 17:35
OpportunV
reviewed
Nov 29, 2024
| try: | ||
| offset = datetime.utcnow().replace(tzinfo=pytz.utc).astimezone(pytz.timezone(tz)).utcoffset().total_seconds() | ||
| sign = '-' if offset < 0 or 'GMT-' in tz else '+' | ||
| tz_list.append(f'{tz} (UTC{sign}{abs(int(offset//3600)):02}:{abs(int(offset%60)):02})') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds priorities to users in LFG posts