Date and Time in URL - not working in FireFox - datetime

I am using the following datetime format for an URL with DateTime:
...?projectid=10&starttime=2022-12-01t14:10:00z&endtime=2022-12-02t18:10:00z
works fine in every Browser, but FireFox. In FF the time portion is ignored.
Any idea whta might be wrong?
Thanks

Related

Path.GetExtension is not working on chrome browser asp.net

string FileExtn = System.IO.Path.GetExtension(fpdDocument.PostedFile.FileName);
The above method works fine with the firefox and IE , i am able to view all types of files like zip,txt,xls,xlsx,doc,docx,jpg,png
but when i try to find the extension of file from googlechrome , i failed.
Please any one tell me what is the way to get the actual file extension in google chrome

Pollyfiller shows wrong date format in internet explorer

I have the following scenario:
my pc was installed with an English version of windows most likely US culture.
Now I've already changed the culture settings for date-time formatting on my pc to preferences to d/MM/yyyy.
I have an English version of internet explorer installed and a dutch version of chrome installed.
Now when i run the demo of the pollyfiller found here I get the following results:
running it in my Dutch version of chrome the date time picker turns out to be in dutch and the date format is correctly following the dutch format: dd/MM/yyyy
running it in my English version of Internet Explorer the date time picker turns out to be in english and the date format is incorrectly following the format: MM/dd/yyyy
in my asp page i have tried putting: UICulture="nl" Culture="nl-BE"
but this has no effect.
how can i make this pollyfiller date picker look at my culture correctly?
Looks like all we had to do was add this piece of code into the page and it was fixed.
<script type="text/javascript">
$.webshims.activeLang('nl');
</script>

tinysort doesn't work properly after dynamic loading

I have a very odd issue happening with my wordpress website. My sort functions work fine, then I scroll to the bottom of page, and it loads more posts through infinite scroll(this plugin http://wordpress.org/extend/plugins/infinite-scroll/), then suddenly my sort functions(tinysort used) starts to act weird, giving me random results. Only happens with new/old and old/new, not with alphabetical sort. This only happens in Chrome, not in firefox or safari.
http://mammalian.ca/newSite/projects/
what is happening? help!!
Strange... your code looks ok... TinySort might be handling the attribute as a string instead of a number. You could try replacing the 'rel' attribute with 'data-time' and sort by data (which looks right if I run it from console):
// following commented line is only to test
// $('*[rel]').each(function(i,el){$(el).attr('data-time',$(el).attr('rel'))});
jQuery('div#sortDivs > div').tsort({data:'time',order:'desc'});

URL with Cyrrilic querystring not working in IE (but working in Firefox)

On our site, I use the category (in Russian) in the querystring.
E.g.: http://www.odinklik.ru/kategoriya.aspx?cat=люди
If you paste this link in IE8, it is translated to cat=???? and it does not work
If I paste it in FireFox, it works.
It gets even more weird: the same URL is reachable from the homepage, and if I click the same URL in IE8 from the homepage it works fine (unless I click open in a new tab, that it is back to ????).
I am using ASP.NET 3.5(C#)
Did you try to do encoding on first page and decode from Cyrillic to Unicode and back?
Little bit a headache but surly will work.
You should URL-encode the category name before adding it to the querystring, rather than relying on the browser to do that for you.
The method HttpServerUtility.UrlEncode should be able to handle this encoding for you.
HttpServerUtility.UrlEncode should give you the link http://www.odinklik.ru/kategoriya.aspx?cat=%D0%BB%D1%8E%D0%B4%D0%B8, which should give you the correct result.
(Note that %D0%BB corresponds to л, %D1%8E to ю, %D0%B4 to д and %D0%B8 to и. As the Unicode values for Cyrillic characters are over U+ff, you will require two URL-encoding bytes for each character.)

Strange error in IE

I have a URL with unicode characters in it
http://www.argaam.com/Common/Handlers/DownloadAttachment.aspx?referer=/portal&fileName=اعمار. -الربع الثاني_633857794599657020.pdf&folder=\CompanyFinancialResults\
this is working fine in FireFox and Chrome and Safari but when the request if sent from IE the server sends me to an Error page.
OK i got the request the server recieves and its like this
IE
GET /Common/Handlers/DownloadAttachment.aspx?referer=/portal&fileName=?????.%20-?????%20??????_633857794599657020.pdf&folder=\CompanyFinancialResults\ HTTP/1.1
FireFox
GET /Common/Handlers/DownloadAttachment.aspx?referer=/portal&fileName=%D8%A7%D8%B9%D9%85%D8%A7%D8%B1.%20-%D8%A7%D9%84%D8%B1%D8%A8%D8%B9%20%D8%A7%D9%84%D8%AB%D8%A7%D9%86%D9%8A_633857794599657020.pdf&folder=\CompanyFinancialResults\ HTTP/1.1
So for some reason IE is not encoding the multibyte characters properly !!
Anyone has any idea why?
Your link should be URLEncoded when placed in the HTML, rather than relying on the browser to try to encode the URL for you. (IE's behavior for which varies depending on the client's OS/language, etc).
It looks like the URL has multi-byte characters in it, I havent expereinced this, so not sure if thats part of the issue? Also the URL looks like it has a filename, it could be that filenames with those characters cannot exist or the file does not exist?
Try making the registry changes documented on this page at Microsoft:
Internet Explorer May Not Connect to Web Sites with Multibyte Character Set Link or URL
To work around this behavior, you must add a registry value. Add a DWORD registry value named MBCSServername with a data value of 0 to the following registry key:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings

Resources