Error when set field type to Datetime

8 years 6 months ago - 8 years 6 months ago #272526 by edmundcheong
Error when set field type to Datetime was created by edmundcheong
I just found out that if you set a field to datetime, and Timezone Offset to enable, you will get the error below when updating profile. If you set Timezone Offset to disable, everything will be okay.

An error has occurred while processing your request.

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Go to the Home Page

If difficulties persist, please contact the System Administrator of this site and report the error below.

0 DateTimeZone::__construct(): Unknown or bad timezone ()

Please Log in to join the conversation.

8 years 6 months ago #272529 by edmundcheong
Replied by edmundcheong on topic Error when set field type to Datetime
A by the way thing, i saw that the time minute section are in brackets of 5 minutes. Is there a way to configure the minutes to 1 minute brackets?

Please Log in to join the conversation.

8 years 6 months ago - 8 years 6 months ago #272538 by krileon
Replied by krileon on topic Error when set field type to Datetime
Please ensure you've latest CB 2.x nightly release below. There was a known issue with offset being wrong that can cause issues like this.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build

In latest nightly it'll try to use the users timezone if one is specified otherwise it uses the server timezone.

A by the way thing, i saw that the time minute section are in brackets of 5 minutes. Is there a way to configure the minutes to 1 minute brackets?

The dropdown? No, it's not possible to change it without modifying core code.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: edmundcheong

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.297 seconds

Facebook Twitter LinkedIn