Normal view

There are new articles available, click to refresh the page.
Before yesterdayCodeProject Latest postings for The Lounge

Seriously guys?

If you wish to format a date in Power Apps, there is a nice set of format letters to provide custom output. So using the Text function I can write
C#
Text(myDate, "mmm dd yy") // May 09 24

Or for time I can write
C#
Text(myTime, "hhmm") // 1644

Or I can combine them into
C#
Text(myDateTime, "hhmm mmm dd yy") // 1644 16 09 24

Why would anyone think to use the same lower case letters for two very distinct fields?

There is actually a work-around, make sure dd comes first in the date. Good luck 'mercans. Big Grin | :-D

Visual Studio weirdness

I have not updated Visual Studio (2022) for a while, but in the last week it has started behaving oddly. Every time I open a project the various windows get correctly created, and it looks ready to go. However, as soon as I click on a page in the sources window* up pops Windows Explorer, and clicking on the source page will not remove it. I have to click the non-client area. Has anyone else seen this?

*although sometines it fades to the "not responding" view for a few seconds first.

Having a laugh in the UK

I needed to check traffic conditions at the junction of the A3 and M25, so I went to the AA website. I decided to decline all cookies, which normally closes the popup immediately. Instead it showed a second popup with the message:
Quote:
Processing Preferences
We are processing the requested change to your cookie preferences.

This may take up to a few minutes to process.

To be fair it only took about 45 seconds ...
❌
❌