terminal – How can I convert this Bash prompt to zsh?


I have the following configuration for Bash:

#   Change Prompt
#   ------------------------------------------------------------
    export PS1="________________________________________________________________________________n| e[0;34mue[m@e[0;32mhe[m {e[0;33mwe[m} --- e[0;35mD{%F %T}e[m n| $: "
    export PS2="|  $: "

I tried replacing the with %, but it didn’t work. What can I do to make this work in zsh?