Skip to content
  • Kevin Morris's avatar
    add aurweb.time module · 9052688e
    Kevin Morris authored
    
    
    This module includes timezone-based utilities for a FastAPI request.
    This commit introduces use of the AURTZ cookie within get_request_timezone.
    This cookie should be set to the user or session's timezone.
    
    * `make_context` has been modified to parse the request's timezone
      and include the "timezone" and "timezones" variables, along with
      a timezone specified "now" date.
    + Added `Timezone` attribute to aurweb.testing.requests.Request.user.
    
    Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    9052688e