Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/uselotus/lotus
/ now_utc
Function
now_utc
backend/metering_billing/utils/utils.py:230–231 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
228
229
230
def
now_utc():
231
return
datetime.datetime.utcnow().replace(tzinfo=pytz.utc)
232
233
234
def
now_utc_ts():
Callers
15
get_queryset
Method · 0.90
archive
Method · 0.90
get_queryset
Method · 0.90
get_queryset
Method · 0.90
create
Method · 0.90
change_prepaid_units
Method · 0.90
add
Method · 0.90
get
Method · 0.90
post
Method · 0.90
track_event
Function · 0.90
get
Method · 0.90
update
Method · 0.90
Calls
no outgoing calls
Tested by
15
do_timezone_test_common_setup
Function · 0.72
test_cant_archive_with_active_plan_version
Method · 0.72
test_count_unique
Method · 0.72
test_gauge_total_granularity
Method · 0.72
test_gauge_daily_granularity
Method · 0.72
test_rate_hourly_granularity
Method · 0.72
test_gauge_daily_granularity_delta_event
Method · 0.72
test_proration_and_metric_granularity_sub_day
Method · 0.72
test_metric_granularity_daily_proration_smaller_than_day
Method · 0.72
test_metric_granularity_greater_than_daily_proration_smaller_than_day
Method · 0.72
test_count_unique_with_filters
Method · 0.72
test_gauge_total_granularity_with_filters
Method · 0.72