I have an app that deals with time and it shows prayer times in 12hr format only ,it is very functioning without errors.
one of my users sent me a message :
" app does not work in 24hr format,
when I changed my time setting from 24 hours to 12 hours it start work, actually here in shengun countries Nokia Lumia does not show 12 hours by default, to change the setting we would have to change region setting."
I tried to reproduce the same error but I could not ,ofcourse I am not living in Europe.
my question is what is different in Nokia Lumia in Europe from international version like in middle east from a programmer point of view ?
So I can take in account in my app next update
thanks
my question is what is different in Nokia Lumia in Europe from international version like in middle east from a programmer point of view
Only one thing: the regional settings. You can change them manually on your device or the emulator by going in the settings menu (in the region+language submenu).
Unfortunately, "does not work" isn't precise enough to understand what's going on with your application. A few leads though:
Having a time on 24 hours rather than 12 hours may change your computations
Parsing a decimal number or a date without explicitly setting a culture in the .Parse method can crash when executed in a foreign culture (by far the most common crash occurrence I've seen on Windows Phone)
The same way, converting a decimal or a date to a string without specifying a culture can yield different results depending on the country
Related
I'm an amateur photographer. I have Video, Mobile, Camera, Drone, etc. My goal is to sync all data on the right time and add GPS tag.
I end on configure everything on UTC (except mobile), and add after GPS tag that is on UTC also.
Main problem is how to determine correct timezone based on where the picture has been taken, and if I have to, since all my mobile photos has the timezone (and daylight savings) applied when taking video/photo.
I'm using now an OPEN API for having the correct GMT based on the geolocation and time/date.
Am I doing it right? Am I interpretating DATE/TIME changes correctly? I saw after that Lightroom changes based on the date/time info and the place it's used (photos).
It's a mess.
I was working on a project dealing with the Last-Modified time of photos from various websites. One of the websites drew my attention with the fact that all of its product photos being requested had the same Last-Modified header as Wed, 20 Jan 1988 04:20:42 GMT in the response headers. (See photo below)
The timestamp looks really strange to me because year 1988 is a year when internet and png/jpeg photo format (product photos of the website) did not even exist yet. I need to evaluate the validity of the timestamp for the project but I really want to understand more before simply saying it's a fake time. There're some thoughts in my mind that could not be wrapped in one question so I'm just listing them out as follows:
From a high level, where does the last-modified timestamp come from, is it from the last-modified field from the file system?
The company started in 1986 based on their company profile, so it's still possible to have some digital photos in storage at year 1988. Would it be technically possible that the original photos were created in 1988, stored and served later when internet becomes available?
In response headers, the Date property is actually reflecting correctly the current date when I requested the resource. Does that justify the validity of the time or it's also possible that the server time got changed back and forth somewhere in the middle?
Its product photos are png or jpeg and with resolutions up to the standard of today, how did they manage to do that without altering the last-modified metadata if we assume the timestamp is still valid? Note: they seem to all have the same timestamp precisely.
As mentioned, I'm still trying to understand more under the hood, so if you have any thoughts on how I could continue digging into this, that'll be helpful as well. Thanks in advance.
There are no obvious answers to these questions. You’ll have to ask the people who built the site.
Photo metadata is 100% under the control of the developers / operators of the site. If you wanted to use file system timestamps, you could. If you wanted to substitute a timestamp from another source, or a made-up time stamp, you could.
You might be able to find a clue by downloading photos and examining the EXIF metadata that’s embedded in the image data. That’s another potential source of the timestamp data. But of course that could also be doctored.
I have an application in Vuejs (Typescript) that get date from User, I am facing two issues for the time being.
Every time the User enter date of birth system decreases one.
If user enter 03/05/1981 and the System date formate is MM/dd/yyyy it store 5th of March.
I can't tell every person to change format to dd/MM/yyyy, or is there a way around.
Thanks
By the details you have provided I assume everything happens in the browser.
Please check your browser localization settings even if your computer localization is setup as US if the browser has a different setting then it will be overwritten.
If you are sending the information to a different server please check how are you formatting the date in your request and which are the server side settings about localization.
Hope this helps.
I have created several "user segments" and added corresponding personalized versions of content blocks in a page. For some simple segments, for instance, that just check if the user has visited a specific page, it works flawlessly.
But for others, specifically when adding the "Time of day" characteristic, it fails to select any of the user segments and displays the default content.
I've created a segment that just checks if the time of day is "between 3AM and 11:30 AM" and I set its priority to "1." My understanding is that, because it is the top priority item, that even though there are other segments that could apply, this is the one that will be chosen if the current time of day is in that time frame. But its not working.
Any thoughts on how I may be misunderstanding the process? or tips/struggles others have overcome working w/ Sitefinity personalization? Thanks!
EDIT: if I set the Time of Day segment criteria to "IS NOT" between 12:00 AM and 11:59 PM then it works. In other words, matching the time of day is always returning false unless I specifically check if its false, in which case it is and the personalized content displays. What the heck?
I tested the case with 10.2 and everything is working fine. I found this closed bug in the feedback portal. Review your version. In case that you cannot upgrade you can try to implement your own criteria.
So it turns out that this problem only exists for me when connecting to the webserver while running the VPN that we've been using throughout development. I have not narrowed down what about that process could possibly be causing the problem, but at this point it seems that it's not so much a sitefinity issue or configuration problem on our server end.
For iOS 7, is it possible for me to acquire an answer from the google calculator for example?
Like for example, if I have to convert currency, assume the unit for both term (maybe USD to CAD) is decided by the user, can I get the conversion through the URL on Safari(to access live google calculator)?
If not, is there any way to get these conversions that has their value changing daily?