Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
[solved]User entries not editable by Admin. expiredate wrong
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved]User entries not editable by Admin. expiredate wrong (Read 4387 times)
adus
Newbie
Posts: 23
[solved]User entries not editable by Admin. expiredate wrong
«
on:
January 13, 2016, 21:01:42 »
Got a problem with the usertabe.
While saving an user-entry as admin after editing an error message pops up: one or more required fields are empty (
missing date in expire-field
.)
After changing that with the calendar-helper: It shows up
d. m. Y
By typing in via keyboard it says:
invalid date
.
Tried a couple of different date-formats - no one is valid
I'm using german dateformat
Thanks in advance for your support
adus
«
Last Edit: January 14, 2016, 11:13:39 by adus
»
Logged
Regards
Hans aka adus
datahell
Elxis Team
Hero Member
Posts: 10356
Re: User entries not editable by Admin. expiredate wrong
«
Reply #1 on:
January 14, 2016, 08:56:57 »
The proper date format for data input boxes in German language is "
dd-mm-YYYY
" (day-month-year). Set the expiration date (
Verfalldatum
) to "
01-01-2060
" (never expires)
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
adus
Newbie
Posts: 23
Re: User entries not editable by Admin. expiredate wrong
«
Reply #2 on:
January 14, 2016, 11:12:43 »
Thanks datahell for your reply..
You brought me to the right track
I corrected the date formats in the language file to the propper values and changed the line
$_lang['DATE_FORMAT_BOX'] = 'd-m-Y';
too to
'd.m.Y
' which was wrong.
Thanks again!
Hans aka adus
Logged
Regards
Hans aka adus
datahell
Elxis Team
Hero Member
Posts: 10356
Re: [solved]User entries not editable by Admin. expiredate wrong
«
Reply #3 on:
January 14, 2016, 12:56:14 »
Good. Just for your information.
1.
The supported date formats for
date
input boxes are:
Y-m-d, Y/m/d, d-m-Y, d/m/Y, m-d-Y, m/d/Y
Lanuage string
DATE_FORMAT_BOX
in language files
2.
The supported date formats for
datetime
input boxes are:
Y-m-d H:i:s, Y/m/d H:i:s, d-m-Y H:i:s, d/m/Y H:i:s, m-d-Y H:i:s, m/d/Y H:i:s
Lanuage string
DATE_FORMAT_BOX_LONG
in language files
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
[solved]User entries not editable by Admin. expiredate wrong