How to set timezone on bluemix app? - ibm-cloud

I'm having problems with time values in watson conversation. In the "try now" panel the current time is right (taken with the now() function), but when i use the conversation deployed on bluemix or facebook messenger the time is two hours before. Example:
in "try now" panel -> 13:30
in bluemix chat -> 11:30
in facebook messenger -> 11:30
Seems like bluemix automatically sets utc +00. How can i fix this issue?
Thanks in advance!

Solved.
In the "try now" panel the timezone is automatically recognized.
The only way to let your app know which is your timezone is to create a variable "timezone":"Europe/Rome" in the context field.

Related

Importing google calendar availability for clients in flutter

I am creating an app for a business where the user is able to select an available time slot for an appointment, then schedule it. On the backend I'd like to pull available times from my personal google calendar, let them select a time slot, then see the events autopopulate to my google calendar so I have them clearly there. I am having a really hard time finding documentation on how to use the google calendar API to pull events from a hard coded (not a user authentication sign in) google account. Can anyone help here?

How to change the first day of the week in YouTrack?

Is there a way to change the first day of the week in the JetBrains YouTrack Cloud software? Right now week starts from Sunday, which affects all calendars in all widgets in YT. I want to change the first day of the week to Monday.
You can change it for a single user. Would like to change it as default for all newly created users. But don't know about that yet.
Changing it for a user go to your profile or as admin Access Management -> Users and click a user name.
In the General tab near the bottom you can set the First Day of Week for this user.

Not able to login in facebook/Meta account

I am not able to login in my fb account whenever I login it shows me
We received your information
"If we still find that your account didn't follow our Community Standards, it will remain disabled.
We're always looking out for the security of people on Facebook, so until then you can't use your account."
Do anyone has idea how to resolve this?
I have already mail to FB but they are taking too long to reply.
Sorry for asking this question here.
No, the same thing happened to me just now, April 19 at 5 pm, and I was just about to set up the account for the very first time and was fiddling with the security setup by setting up two-factor authorisation, and by switching off the friends list from public view, and had not yet started to upload any material (as less than 30 minutes had passed since the account was created). That move triggered some automatic algorithm... I was just suddenly thrown out with the message that the account wasn't following community standards and would be closed in 30 days. I didn't even have time to upload a photo of myself or post a single entry to the feed.

MOODLE: This quiz is notavailable

I installed Moodle on my system using xampp server, moodle is working properly, I am able to add users, create courses etc. But when I add a quiz and set the timing, the quiz will show:
"This quiz is not currently available"
The time and date is correct am using moodle 3.11
Go to preference, under user account select edit profile
Then go to time zone and change to the appropriate time zone
Refresh your browser

Google Calendar API V3 insert recurring event default timezone

Looks like there is a bit of inconsistency between 2 ways calendar RECURRING events could be created using the TIME ZONE:
'quickAdd' - does not require you to provide a timezone. The Calendar's default (UTC) or the one set by the Calendar owner will be used. Fair enough.
'insert' - the API doc states: "For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end."
Why for 'insert'-ing recurring events we cannot use use the time zone the Calendar already have?
The 'quickAdd' api endpoint clearly shows that it is possible!
For example, if you call the quickAdd with the following text (Important meeting at Office at 11am-11:25am every Fri with John) recurring events will be created with the time zone that already set in the Calendar!
Sure thing that I could get the Calendar time zone from the settings (/calendar/v3/users/me/settings/timezone). But this will require one extra call. It will cause more latency and bring more complexity to the code.
Another issue. The quickAdd api call for recurring events creates not only recurring events but also the same event on the day when the call been made! The API doc does not provide any explanation what are the correct values for the text attribute.
Would be great to hear back from Google API team to clarify those things.
Thank you.