Skip to content

Commit

Permalink
Fixed context globals
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Oct 31, 2023
1 parent 2ab62c1 commit c4fe261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daras_ai_v2/prompt_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ def render_prompt_vars(
def context_globals():
return {
"datetime": SimpleNamespace(
utcnow=datetime.utcnow().strftime("%B %d, %H:%M"),
utcnow=datetime.utcnow().strftime("%B %d, %Y %H:%M:%S %Z"),
),
}

0 comments on commit c4fe261

Please sign in to comment.