Prateek Kumargeekprateek.hashnode.dev·Aug 15, 2024Mastering Date Formatting in JavaScript: Achieving Locale Consistency with EaseDealing with date and time in JavaScript, especially in large-scale applications, requires careful consideration. One of the critical challenges is ensuring that date formats are consistent and understandable across different locales. Date formats va...Discuss·1 like#javascript date
Chris Dourisdigitalcreations.hashnode.dev·Mar 3, 2024Day 26/100 100 Days of CodeI fixed an issue where it was impossible to lowercase any Greek characters. After experimenting with C++'s library, I decided to install the boost locale library to try it. Lo' and behold! It worked! This means that both Greek and English languages a...Discuss100 Days of CodeC++
Chris Dourisdigitalcreations.hashnode.dev·Mar 1, 2024Day 24/100 100 Days of CodeThe program extracts the URLs and keywords from the text fields by assigning their values to std::strings. This is where I started replacing strings with wstrings. if (!keywords1[i]->GetValue().empty()) { std::wstring getKey...Discuss100 Days of CodeC++
Chris Dourisdigitalcreations.hashnode.dev·Feb 29, 2024Day 23/100 100 Days of CodeI found a bug where some of the text was not detected with the find() method properly as the method is case-sensitive. I tried using the following function: // To lower case // Source: https://stackoverflow.com/questions/313970/how-to-convert-a...Discuss100 Days of CodeC++