EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.support.eng » Set >LAST_DATE_TIME format to yyyy-mm-dd
Set >LAST_DATE_TIME format to yyyy-mm-dd [message #169140] Tue, 31 January 2017 12:31 Go to next message
Michl Neumayer
Messages: 2
Registered: January 2017
Junior Member
We need the date/time of the last change in ISO8601 format (yyyy-mm-dd)

I tested our eagle start-script with several lang-variables, but nothing worked correct for me.
We use eagle 7.3.0 on a Gentoo Linux System.

#!/bin/bash
# this is startEagle.sh
lang="en_US" LC_TIME="en_DK.utf8" /opt/bin/eagle

We also tried to modify the time-description in /usr/share/i18n/locales/en_US
echo -n %Y-%n-%d | hexdump -v -e '/1' "<U00%02X>" ; echo
and reboot with this modified lang-settings.

Is there a way to set the date-format in the correct way?

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/214829
Re: Set >LAST_DATE_TIME format to yyyy-mm-dd [message #169150 is a reply to message #169140] Tue, 31 January 2017 18:01 Go to previous message
Jorge Garcia
Messages: 1294
Registered: April 2010
Senior Member
On 1/31/2017 7:31 AM, Michl Neumayer wrote:
> We need the date/time of the last change in ISO8601 format (yyyy-mm-dd)
>
> I tested our eagle start-script with several lang-variables, but nothing worked correct for me.
> We use eagle 7.3.0 on a Gentoo Linux System.
>
> #!/bin/bash
> # this is startEagle.sh
> lang="en_US" LC_TIME="en_DK.utf8" /opt/bin/eagle
>
> We also tried to modify the time-description in /usr/share/i18n/locales/en_US
> echo -n %Y-%n-%d | hexdump -v -e '/1' "<U00%02X>" ; echo
> and reboot with this modified lang-settings.
>
> Is there a way to set the date-format in the correct way?
>
> --
> To view any images and attachments in this post, visit:
> https://www.element14.com/community/message/214829
>
Hello Michl,

I hope you're doing well. I've put in a an enhancement request for this,
at this point in time the only solution is to manually add in the date
using the TEXT command.

Let me know if there's anything else I can do for you.

Best Regards,
Jorge Garcia
Previous Topic: Changing date/time format produced by >LAST_DATE_TIME
Next Topic: Eagle license
Goto Forum:
  


Current Time: Fri Sep 22 09:48:28 GMT 2017