How to control localization settings in the iNotes calendar control? - xpages

The "extLib" iNotes calendar control appears to have a "life of its own" when it comes to localization settings:
in the week views e.g. weekday and month names are following the localization settings of the client (if I set the browser's language to en-US it says "Monday" ... "Sunday"), but the week always starts at Monday. Another example are the time slots where they are displayed: times are always displayed as "09:00" .. "12:00" and then onwards as "13:00" .. "18:00" etc. But there are also "AM" and "PM" markers where applicable, no matter what locale the client is set to (see screenshot #1 below for a de-DE locale).
This behavious is not true for the "real" iNotes calendar: this one follows the client's locale as can be seen in the 2nd (locale = de-DE) and 3rd (locale = en-US) screenshot below (ok, for en-US week still starts at Monday, but this can be set through the iNotes preferences).
So I wonder if, no I really hope that there's some way to control localization parameters. But how?

Related

How to change the date format on a Work Item in Azure DevOps Work item

The date format on each Work Item is showing in US format (M/d/yyyy) and I need it to display in AU format (dd/mm/yyyy). I have set the region for the Organisation and set my own user profile to the correct browser language and date format, but it will not change. The problem occurs in (new) Edge and Chrome but IE is correct.
How can I get the correct date format to display?
It seems this can be done by following
Select your project -> Click on the profile icon -> Click on the ellipsis (...) on the profile summary popup -> Select User Settings on that popup -> Select Time and Locale on the next popup -> Go to the settings page and change region and date format.
TBH, it took me an hour to find this. Not a pleasant experience.

ViewPanel does not honor Time Zone on Date-only field

We have an app running on 8.5.3 servers (windows) with a field set as Date-only in the Notes backend. No time component gets saved. There is a list style Xpage with a ViewPanel that displays these dates from a Notes view data source, and a form that opens from a link in that view that also shows the same field in the linked record. We are in North America.
After UTC midnight, which is 7 pm Eastern, all of the date column values shown in the view will roll back to the previous day. The linked document in the form-oriented Xpage still shows the proper date as can be seen in a Notes client, and in a Notes info box showing hidden field values.
The XSP application property setting for "Time Zone" has no effect on this behavior.
I added time zone to the display format pattern (MM/dd/YYYY vv) in the viewPanel and also to the field in the form's panel, and both are showing the same time zone, GMT -4. So the date displayed in the viewPanel is in error, as far as I can tell.
I also have verified the same behavior on a Domino 9 server. Is there a workaround for the view list or should we try it on 8.5.2?

Change iOS Device Date

I have a UIWebView that displays a date for an oriental calendar. If i go into settings and change my device date, then reload the app, the UIWebView date also changes. My question is, is there a way to select a date through the UIDatePicker and it changes the device date so the WebView can load a different date.
Thanks in Advance
There is no public API that allows a 3rd party app to change the system date on a non-jailbroken iOS device.
You can certainly let a user pick a date and show a calendar for the chosen date but the display can't be based off of the system date. You would need to pass the chosen date to the URL shown in the web view.

How to set textfield only with Month and year from calender in CRM

After selecting calendar in campaign form , I need to set text field only display Month/Year
instead of Day/Month/Year. How can I do this?
I attached a screen shot below:
Here its Day/Month/Year, but I need Month/Year.
I suspect that the date-time field is formatted according to the system settings (be that picked from CRM or the user's computer). Not sure if it's editable other than that. I'll take a look at it later today.
In case it's not possible to customize the date format of a single field you've got three options (listed in increasing order of control but also of implementation workload).
Set the system settings according to your wishes.
Add custom fields and control the looks in these.
Create a web resource that behaves exactly as you wish.

SharePoint UserProfile ChoiceList - comma is an invalid charcter for the picker control?

We are storing an office address field on a user profile in our MOSS installation. For the field I'd like to use a choice list to limit the user to selecting an office with the address in the correct format.
The office address is the full address of the office (rather than just an id of some kind as one might use) - this is so that the value can be indexed and the search interface can then find everyone based in London (for example) or 'UK Office' as these are part of the address. All good so far, an example office address might be:
999 Letsbe Avenue, South Kensington, London SW1 1AA
I can add this value to the choice list successfully and looking at the UserProfile.ChoiceList proprty shows it correctly. Looking at it in the Edit Profile page is fine, the picker control shows the value correctly too. Only problem is, if you try and select it in the picker control - let's say double click on it - the value isn't passed to the text control on the page - instead the picker refreshes and shows no values.
Playing with the values shows that it's the commas in the value that cause the problem with the picker, so has anyone experienced this and fixed it / worked around it with anything other than just not using commas...
Ok, here's one I just checked works - Unicode Character 'SINGLE LOW-9 QUOTATION MARK' (U+201A).
just have to be careful with the font used on the site in case it's rendered oddly, but it'll workaround it unless there is a 'proper' solution.

Resources