problem printing dates in my template

More
12 years 1 month ago #29259 by jeysonkool
Hi guys, i am printing a list of dates from a specific field and it deduct a day.
Example:
Record Date: 15/02/2012
Printing the day in flexicontent give me: 14/02/2012
The month and year print well but it deduct a day
Why this issue?
My code to print is:
<?php echo $this->fields->display; ?>

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29260 by micker
did check time zone of site/user/field ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29265 by jeysonkool
That was the first thing I check when a saw the issue and everything was correct in the time zone for each users that record data in flexicontent.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29290 by ggppdk
So you have timezone usage disabled ? or it is enabled?


also if you have timezone usage enable, it makes a difference if the user logged or not

also trying enabling printing of time and timezone for testing


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29369 by jeysonkool
I have the time zone for Joomla in general enabled; I have to enable one too in FLEXICONTENT?



I Do some test with default template of FLEXICONTENT and saw the same issue with the date field, when I use fields like “created” and “modified” it’s give me the correct date, but when I use the date field it debut a date.

I also do some test with the database and the data that i record from datefield is correct, the problem is the “print” in the template.
How I can enabling printing of time and timezone for testing?

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #29385 by ggppdk
Goto your edit date field and edit the parameters ???


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.828 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline