mirror of https://github.com/zulip/zulip.git
analytics-activity: Fix UTC timezone and adjust header type.
Fixes an error with how the `utctime` was being generated and makes the header on the summary table the same type as the other tabs.
This commit is contained in:
parent
c75e5c8ba6
commit
c05c25e742
|
@ -294,7 +294,7 @@ def realm_summary_table(realm_minutes: Dict[str, float]) -> str:
|
||||||
dict(
|
dict(
|
||||||
rows=rows,
|
rows=rows,
|
||||||
num_active_sites=num_active_sites,
|
num_active_sites=num_active_sites,
|
||||||
utctime=now.strftime("%Y-%m-%d %H:%MZ"),
|
utctime=now.strftime("%Y-%m-%d %H:%M %Z"),
|
||||||
billing_enabled=settings.BILLING_ENABLED,
|
billing_enabled=settings.BILLING_ENABLED,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<h2 style="text-align: center;">{{ num_active_sites }} active sites</h2>
|
<h3 style="text-align: center;">{{ num_active_sites }} active sites</h3>
|
||||||
|
|
||||||
<p style="text-align: center;">{{ utctime }}</p>
|
<p style="text-align: center;">{{ utctime }}</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue