Skip to main content

AA Time Zones

Version License Python Django pre-commit pre-commit.ci status Code Style: black Checks codecov Translation status Contributor Covenant Discord Alliance Auth Compatibility

ko-fi

App for displaying different time zones with Alliance Auth



Time Zones

Installation

Step 1: Install the App

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

pip install aa-timezones==3.2.0

Step 2: Update Your Alliance Auth Settings

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

  • Add 'timezones', to INSTALLED_APPS

Step 3: Finalizing 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 information, so you can define your own set of panels later. To do so, simply run:

python manage.py timezones_load_tz_data

(Optional) Public Views

This app supports AA's feature of public views, since time zones conversion is not any mission-critical information. To allow users to view the time zone conversion page without the need to log in, please add "timezones", to the list of APPS_WITH_PUBLIC_VIEWS in your local.py:

# By default, apps are prevented from having public views for security reasons.
# To allow specific apps to have public views, add them to APPS_WITH_PUBLIC_VIEWS
#   » The format is the same as in INSTALLED_APPS
#   » The app developer must also explicitly allow public views for their app
APPS_WITH_PUBLIC_VIEWS = [
    "timezones",  # https://github.com/ppfeufer/aa-timezones
]

Note

If you don't have a list for APPS_WITH_PUBLIC_VIEWS yet, then add the whole block from here. This feature has been added in Alliance Auth v3.6.0 so you might not yet have this list in your local.py.

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 aa-timezones==3.2.0
python manage.py collectstatic
python manage.py migrate

Now restart your AA supervisor services.

Configure the 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 easily 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. Its maximum is 7 days, 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 recommended to keep this set to "EVE time".

To set the adjusted time, simply click on "Set Time" in the row you altered. This will then 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.

Discord Bot Command

For this to work, you'll need to have allianceauth-discordbot installed, configured and running. (See this link)

Command Effect
/time Displays the current EVE time and what time it is in the configured time zones
Discord Bot Response

Changelog

See CHANGELOG.md

Translation Status

Translation status

Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!

Contributing

Do you want to contribute to this project? That's cool!

Please make sure to read the Contribution Guidelines.
(I promise, it's not much, just some basics)

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-3.2.0.tar.gz (521.5 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-3.2.0-py3-none-any.whl (723.3 kB view details)

Uploaded Python 3

File details

Details for the file aa_timezones-3.2.0.tar.gz.

File metadata

  • Download URL: aa_timezones-3.2.0.tar.gz
  • Upload date:
  • Size: 521.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aa_timezones-3.2.0.tar.gz
Algorithm Hash digest
SHA256 1e68d1ea966d4314b80fc6aa2638c3f88e3a5480c1f722b749f4968c3bac40c8
MD5 b332029a938683bb3971a1810b7a237a
BLAKE2b-256 1b28d701ed7f91ecd0f45a9b2df100fd6c1fceb22798984f602a82225bc577fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_timezones-3.2.0.tar.gz:

Publisher: release.yml on ppfeufer/aa-timezones

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: aa_timezones-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 723.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aa_timezones-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42cf3ac67810f369567bf932bccab09417323b7c9ebe2c4468ab3e1b931649da
MD5 511cbbdf9d7216d720a580dbbb8d5c08
BLAKE2b-256 c07383334b207e24daccb7600b60ac2633b1a54193b25bd07d8ce0c2d5822dd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_timezones-3.2.0-py3-none-any.whl:

Publisher: release.yml on ppfeufer/aa-timezones

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

3.2.1

2 files

This release

3.2.0 This release

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.6.2

2 files

2.6.1

2 files

2.6.0

2 files

2.5.0

2 files

2.4.5

2 files

2.4.4

2 files

2.4.3

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.4

2 files

2.3.3

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.3

2 files

2.2.2

2 files

2.2.1

2 files

2.2.0

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.16.2

2 files

1.16.1

2 files

1.16.0

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.2

2 files

1.13.1

2 files

1.13.0

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.1

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.1

2 files

1.7.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page