Ticket #1296: mutt_datetime_iso.diff

File mutt_datetime_iso.diff, 1.6 kB (added by Eduardo Pérez Ureta <eperez@…>, 6 years ago)

mutt_datetime_iso.diff

  • Muttrc

    old new  
    416416# ``$save_name'', ``$force_name'' and ``fcc-hook''. 
    417417#  
    418418#  
    419 # set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z" 
     419# set date_format="!%Y-%m-%d %H:%M:%S %Z" 
    420420# 
    421421# Name: date_format 
    422422# Type: string 
    423 # Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z" 
     423# Default: "!%Y-%m-%d %H:%M:%S %Z" 
    424424#  
    425425#  
    426426# This variable controls the format of the date printed by the ``%d'' 
     
    11511151# change this value, as it tends to agitate the more fanatical netizens. 
    11521152#  
    11531153#  
    1154 # set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s" 
     1154# set index_format="%4C %Z %[%Y-%m-%d] %-15.15L (%4l) %s" 
    11551155# 
    11561156# Name: index_format 
    11571157# Type: string 
    1158 # Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s" 
     1158# Default: "%4C %Z %[%Y-%m-%d] %-15.15L (%4l) %s" 
    11591159#  
    11601160#  
    11611161# This variable allows you to customize the message index display to 
  • init.h

    old new  
    346346  ** will be saved for later references.  Also see ``$$record'', 
    347347  ** ``$$save_name'', ``$$force_name'' and ``$fcc-hook''. 
    348348  */ 
    349   { "date_format",      DT_STR,  R_BOTH, UL &DateFmt, UL "!%a, %b %d, %Y at %I:%M:%S%p %Z" }, 
     349  { "date_format",      DT_STR,  R_BOTH, UL &DateFmt, UL "!%Y-%m-%d %H:%M:%S %Z" }, 
    350350  /* 
    351351  ** .pp 
    352352  ** This variable controls the format of the date printed by the ``%d'' 
     
    844844  { "indent_str",       DT_SYN,  R_NONE, UL "indent_string", 0 }, 
    845845  /* 
    846846  */ 
    847   { "index_format",     DT_STR,  R_BOTH, UL &HdrFmt, UL "%4C %Z %{%b %d} %-15.15L (%4l) %s" }, 
     847  { "index_format",     DT_STR,  R_BOTH, UL &HdrFmt, UL "%4C %Z %[%Y-%m-%d] %-15.15L (%4l) %s" }, 
    848848  /* 
    849849  ** .pp 
    850850  ** This variable allows you to customize the message index display to