emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug#34684: 26.1; Strange characters when inserting date


From: Eli Zaretskii
Subject: [O] bug#34684: 26.1; Strange characters when inserting date
Date: Mon, 11 Mar 2019 19:29:47 +0200

> From: "Wong, Philip" <address@hidden>
> CC: "address@hidden" <address@hidden>, "address@hidden"
>       <address@hidden>
> Date: Mon, 11 Mar 2019 16:55:42 +0000
> 
> Thanks Eli, you're right.
> 
> I still get '<2019-03-11 ¶g¤@>'

OK, as expected.  This means Org is indeed off the hook, the problem
is with format-time-string and/or the Windows implementation of the
strftime function.

Does the below produce correct  results, or does it also produce
garbled strings:

  M-: (insert (format-time-string "<%Y-%m-%d %A>" (current-time))) RET

This is the same as what you tried, but with capital %A instead of
lower-case %a.  %A should produce the full name of the weekday.

Also, please evaluate each of the following expressions with
M-: ... RET (replace the "..." with each expression below), and
please tell what each of them produced:

    (w32-get-current-locale-id)
    (w32-get-locale-info (w32-get-current-locale-id) t)
    (w32-get-default-locale-id)
    (w32-get-default-locale-id t)
    (locale-info 'days)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]