VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Ventsi Genchev on December 17, 2018, 16:53:07 PM

Title: Language problem with the date available in the administration
Post by: Ventsi Genchev on December 17, 2018, 16:53:07 PM
Virtuemart 3.4.3.9975
Joomla 3.9.1

BackEnd > Product Manage > Product Status > Availability Date
Once a date is selected (e.g. January 1, 2019)

Language of Administration - English = Availability Date: 01/01/19
Language of Administration - Bulgarian = Availability Date: м/SPAM/г (The starting letters of month/date/year)

Only three letters. No date.

Bulgarian Language Inspecting:


<td>
<input class="datepicker-db" id="product_available_date" type="hidden" name="product_available_date" value="2019-01-01 00:00:00">
<input id="product_available_date_text" class="datepicker" type="text" value="м/SPAM/г">
<span class="vmicon vmicon-16-logout icon-nofloat js-date-reset"></span>
</td>
Title: Re: Language problem with the date available in the administration
Post by: jjk on December 17, 2018, 20:14:41 PM
What happens if you replace the line 331 in your-root\administrator\components\com_virtuemart\language\bg-BG\bg-BG.com_virtuemart.ini:
COM_VIRTUEMART_DATE_FORMAT_INPUT_J16="м/SPAM/г"
with
COM_VIRTUEMART_DATE_FORMAT_INPUT_J16="m/d/y"
Title: Re: Language problem with the date available in the administration [SOLVED]
Post by: Ventsi Genchev on December 17, 2018, 21:55:36 PM
What will happen? Christmas miracle.
In my case, according to the country it is better to be "d/m/y".

Perfect. Thank you, jjk!