Support

Akeeba Backup for Joomla!

#30583 Customizing Date Format in Backup Description

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 26 November 2018 01:36 CST

Oxgourd
Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: I want to change the date format in the backup description line for Akeeba Backup Pro. It is currently:
"Backup taken on Sunday, 25 November 2018 21:03" and I want it to be
"Full Backup - Sunday, November 25, 2018 21:03"

I have changed the date format settings under Options to "l, F j, Y g:i:s A", but that seemed to only affect the second date line, and not the one I wanted. You can see the two date lines in the attached photo. Please help.

nicholas
Akeeba Staff
Manager
The default description is not controlled by this option but by language strings. Namely the following:
  • COM_AKEEBA_BACKUP_DEFAULT_DESCRIPTION (part of Akeeba Backup) gives the left hand part, i.e. "Backup taken on".
  • DATE_FORMAT_LC2 (part of Joomla!) formats the date and time.


You can always override language strings as explained in the Joomla! documentation. In your case you would need to create two Administrator only overrides:

[*] COM_AKEEBA_BACKUP_DEFAULT_DESCRIPTION Full Backup - (yes, you need to include the dash; do not leave a space after the dash, it is added automatically).
[*] DATE_FORMAT_LC2 l, d F, Y H:i (compared to the original string you are just adding a comma after F).

Please note that changing DATE_FORMAT_LC2 affects the entire backend of the site, core and third party components, when long formatted dates are presented to you.

If you want to do that for command line or front-end backup archives the overrides need to be for both the Site and Administrator.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!