Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/data/lrauv_deployment_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import urllib.error
import urllib.request
from datetime import UTC, datetime, timedelta
from zoneinfo import ZoneInfo
from pathlib import Path

import xarray as xr
Expand Down Expand Up @@ -399,7 +400,8 @@ def _send_notify_email(
web_url = get_web_url(str(std_html)) if std_html else ""

prefix = "" if force else "New "
sent_on = datetime.now(tz=UTC).astimezone().strftime("%Y-%m-%d %H:%M:%S %Z")
_la = ZoneInfo("America/Los_Angeles")
sent_on = datetime.now(tz=UTC).astimezone(_la).strftime("%Y-%m-%d %H:%M:%S %Z")
plain = (
f"{prefix}LRAUV deployment plots: {deployment_name}\n\n"
f" View this and related information on the web:\n {web_url}\n\n"
Expand Down
Loading