Subject: bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches

From: Eli Zaretskii <[email-masked]>
Date: Thu, 19 Jan 2017 18:11:51 +0200

> From: Chunyang Xu <[email-masked]>
> Date: Thu, 19 Jan 2017 22:34:31 +0800
> 
> I want to custom the file timestamps used in dired through the option:
> 
>   --time-style='+%_m月 %d %H:%M'
> 
> then I adjust `dired-listing-switches' accordingly:
> 
>   (setq dired-listing-switches "-al --time-style='+%_m月 %d %H:%M'")
> 
> However, it doesn't work, it signals an error, here is the Backtrace:

Isn't --time-style a GNU ls extension?  You are on Darwin, so do you
have GNU ls installed?  What happens if you use that option from the
shell prompt?