Posts by rla4 • 358 points
4 posts
-
8
votes1
answer152
viewsA: How to return an object by calculating dates?
You can create a new date from the timestamp returned by the setDate operation: periodo = new Date(new Date().setDate(hoje.getDate() - 5)) According to the language specification, setDate always…
javascriptanswered rla4 358 -
1
votes1
answer178
viewsA: Anchor problem in Safari on Windows
This is a known Safari problem. The browser removes anchors in cases of redirects to different pages (more specifically, when redirect headers are present). Removing the redirect doesn’t seem like…
-
9
votes1
answer266
viewsA: Finding Unknown Heroes in Stack Overflow using Data Explorer
As @bfavaretto suggested, if your intention was just to return users who have this medal, just look directly at the Badges table: select u.DisplayName from Users u inner join Badges b on u.Id =…
-
3
votes1
answer111
viewsA: Appcache in Asp.net MVC
In javascript, the bar / is reserved to indicate the beginning or end of the regular expression. In order for your expression to accept strings that contain bars, you need to use an escape character…