
    h                     ,    S r SSKJr  S rS rS rS rg)zT
Helper functions that convert strftime formats into more readable representations.
    )ISO_8601c                 b    SR                  U 5      R                  [        S5      n[        U5      $ )N, z/YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z]joinreplacer   humanize_strptimeformatsformats     X/var/www/html/env/lib/python3.13/site-packages/rest_framework/utils/humanize_datetime.pydatetime_formatsr      s.    YYw''9F V$$    c                 b    SR                  U 5      R                  [        S5      n[        U5      $ )Nr   z
YYYY-MM-DDr   r
   s     r   date_formatsr      s(    YYw'',?FV$$r   c                 b    SR                  U 5      R                  [        S5      n[        U5      $ )Nr   zhh:mm[:ss[.uuuuuu]]r   r
   s     r   time_formatsr      s)    YYw''2GHFV$$r   c                 ~    SSSSSSSSSS	S
SSSSS.nUR                  5        H  u  p#U R                  X#5      n M     U $ )NYYYYYYMMz	[Jan-Dec]z[January-December]DDhhmmssuuuuuuz	[Mon-Sun]z[Monday-Sunday]z[AM|PM]z[+HHMM|-HHMM])z%Yz%yz%mz%bz%Bz%dz%Hz%Iz%Mz%Sz%fz%az%Az%pz%z)itemsr   )format_stringmappingkeyvals       r   r	   r	      sb     "G" MMO%--c7 $r   N)__doc__rest_frameworkr   r   r   r   r	    r   r   <module>r%      s#    $%%
%
r   