Skip to main content

Time Zones Overview for Alliance Auth

Project description

AA Time Zones

Version License Python Django pre-commit Code Style: black Discord Checks codecov Contributor Covenant

App for displaying different time zones with Alliance Auth

Time Zones

Contents

Installation

Important: This app is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)

Step 1 - Install app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the latest version:

pip install aa-timezones

Step 2 - Update your AA settings

Configure your AA settings (local.py) as follows:

  • Add 'timezones', to INSTALLED_APPS

Step 3 - Finalize the installation

Run migrations & copy static files

python manage.py collectstatic
python manage.py migrate

Restart your supervisor services for AA

Once done, it's time to add all the time zone informations, so you can define your own set of panels later. To do so, simply run:

python manage.py timezones_load_tz_data

Step 4 - Setup permissions

Now you can setup permissions in Alliance Auth for your users. Add timezones|aa timezones|Can access ths app to the states and/or groups you would like to have access.

Updating

To update your existing installation of AA Time Zones first enable your virtual environment.

Then run the following commands from your AA project directory (the one that contains manage.py).

pip install -U aa-timezones
python manage.py collectstatic
python manage.py migrate

Now restart your AA supervisor services.

Configure Timezone Panels

Per default there are 10 additional time zone panels that are displayed (see first image). If you want to change those, you can create your own set of panels in your admin backend.

NOTE: "Local Time" and "EVE Time" will always be displayed as the first two panels, no matter what.

Adjusting Time

You can easiely adjust the time that is displayed for all timezones. This is useful for reinforcement timers or pre-planned fleets. To do so, click on the "Adjust Time" button below the time zone panels and you will see 2 different ways to set a new time.

Adjusting Time

The first one is meant for timers, like reinforcement timers, anchoring timers or the like. It's maximum is 7 day, 59 minutes and 59 seconds into the future. That should cover pretty much all timers you can find in Eve Online.

The second one is best suited for pre-planned fleets. Here you can set a fixed date and time based on the selected time zone. The default selected time zone is "EVE Time" but you can change it to all the available options. Keep in mind, the selected time zone is the one the time and date will be adjusted to. So if you are going to use it to plan fleets it is recommanded to keep this set to "EVE Time".

To set the adjusted time, simply click on "Set Time" in the row you altered. This will than adjust all time zone panels to the time you selected and will also alter the link in your browser, so you can share it with others directly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa-timezones-1.7.1.tar.gz (412.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_timezones-1.7.1-py3-none-any.whl (439.8 kB view details)

Uploaded Python 3

File details

Details for the file aa-timezones-1.7.1.tar.gz.

File metadata

  • Download URL: aa-timezones-1.7.1.tar.gz
  • Upload date:
  • Size: 412.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for aa-timezones-1.7.1.tar.gz
Algorithm Hash digest
SHA256 7c0602c0747310800c41993614788e46d49fb097fff0ba50395f729e76b2f275
MD5 339b641d994342f7e7920161ec4a6491
BLAKE2b-256 816afd24d995fd3a07802db8221d7b3a2e54c1fdc65e6785f11418a78efea56f

See more details on using hashes here.

File details

Details for the file aa_timezones-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: aa_timezones-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 439.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for aa_timezones-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27cc5dc319bbb277e462507625a177f21d373b3634854267d7173086440a9f38
MD5 ea9198bb5ccc395acb1194349f072a19
BLAKE2b-256 83807977df261bc1ee07ac889cd9ac428f527e31a588216dcf716a44e8cb7fc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page