From 0a1f7596a0c48a01af22d04fd8968a8ffe034add Mon Sep 17 00:00:00 2001 From: letterly <70981501+letterly@users.noreply.github.com> Date: Thu, 6 Jun 2024 02:10:54 -0400 Subject: [PATCH] Add files via upload --- calendar-changelog.js | 400 ++++++++++++++++++---------------- calendar.css | 4 +- calendar.js | 496 ++++++++++++++++++++++++++++++++++++++++-- index.html | 79 +++---- uninumber.html | 35 ++- 5 files changed, 761 insertions(+), 253 deletions(-) diff --git a/calendar-changelog.js b/calendar-changelog.js index 20bdec6..add6947 100644 --- a/calendar-changelog.js +++ b/calendar-changelog.js @@ -1,139 +1,167 @@ changelog.innerHTML = `

Updates

-

Go to: 2023 | 2024 | Braille Converter Updates | Alphabet Website Updates

- -

27 May 2024

->Length Converter: This new section converts lengths from different Metric and Imperial measurements ->Menu: The menu now has a direct link to my personal website +

Go to: 2023 | 2024 | Braille Converter Updates | Alphabet Website Updates

+ +

6 June 2024

+>Calculator: Added a new section (external website) that serves as a simple calculator for many numeral systems +>Settings: You can now choose between getting prayer direction degrees with decimals or arcminutes +>Temperature Converter: New section converts temperatures between the Fahrenheit, Celsius, Rankine, Kelvin, and Réaumur scales +>Unit Converter: Added time and angle unit conversions + +

5 June 2024

+>Currency Converter: Added a new section that lets you convert between 32 global currencies +>Holidays: Added two more Islamic holidays +>Unit Converter: Added Japanese units of area + +

4 June 2024

+>Unit Converter: Length Converter renamed to Unit Converter +>Unit Converter: You can now convert between power, speed, volume, weight measurements in addition to length +>Unit Converter: Added many new length measurements; the Scandanavian Mile, micron/micrometer, nanometer, ångström, rack unit, and light-second +>Unit Converter: Changed "light year" to "light-year" +>Updates: Changed the internal link to lead to the complete separate "Learn Alphabets" update log +>Updates: Began organizing previous updates into categories and reworded a few + +

3 June 2024

+>Unit Converter: Added the Imperial unit 'thou', equivalent to 0.001 inches + +

30 May 2024

+>Prayer Directions: Fixed an issue with giving prayer directions within four cities (Jerusalem, Mecca, Akko, and Nablus) +>Unit Converter: Added the Imperial unit 'hand', equivalent to four inches + +

28 May 2024

+>Unit Converter: Added Nautical, Astronomical, and Taiwanese units of length + +

27 May 2024

+>Calendar Converter: The Mool Nanakshahi calendar was about a month off and has now been adjusted to fix that >Holidays: Added Iraqi National Day, Lithuanian Independence Restoration Day, Moshoeshoe Day (Lesotho), and several Turkish holidays >Holidays: Turkey will now be referred to as Türkiye ->Calendar Converter: The Mool Nanakshahi calendar was about a month off and has now been adjusted to fix that +>Menu: The menu now has a direct link to my personal website >Name Days: Fixed issue displaying double names such as Maria Magdalena +>Unit Converter: This new section "Length Converter" converts lengths from different Metric and Imperial measurements

14 May 2024

->Contact/Info, Settings, and Update menu buttons are now gray ->The Braille Converter can now convert ASCII Braille to Unicode Braille (using the 3rd column) ->Fixed some random display issues don't worry about it ;) ->Added the Braille and Alphabet Website specific update logs to the main update logs ->Fixed a Braille issue with invisible Unicode characters +>Braille Converter: The converter can now convert ASCII Braille to Unicode Braille (using the 3rd column) +>Braille Converter: Fixed a Braille issue with invisible Unicode characters +>Menu: Contact/Info, Settings, and Update menu buttons are now gray +>Updates: Added the Braille and Alphabet Website specific update logs to the main update logs

11 May 2024

->Fixed some problems with Hue-based color models ->Fixed display of Coptic holidays +>Color Converter: Fixed some problems with Hue-based color models +>Holidays: Fixed display of Coptic holidays

9 May 2024

->Fixed an issue with displaying the holiday Trinity Sunday ->The old address LETTERLY.GITHUB.IO/CALENDAR.HTML now redirects to the current LETTERLY.GITHUB.IO ->Added the HWB color model ->Fixed an issue with the back button +>Color Converter: Added the HWB color model +>Holidays: Fixed an issue with displaying the holiday Trinity Sunday +>Website: Fixed an issue with the back button +>Website: The old address LETTERLY.GITHUB.IO/CALENDAR.HTML now redirects to the current LETTERLY.GITHUB.IO

8 May 2024

->Added the HSV color model to the color converter ->A color sample is now shown under the color converter +>Color Converter: Added the HSV color model to the color converter +>Color Converter: A color sample is now shown under the color converter

7 May 2024

->Added the HSL color model to the color converter ->The color converter uses a little more rounding for CMYK ->Informative Wikipedia links are included for each color model ->Fixed a glitch with the name day search +>Color Converter: Added the HSL color model to the color converter +>Color Converter: The color converter uses a little more rounding for CMYK +>Color Converter: Informative Wikipedia links are included for each color model +>Name Day: Fixed a glitch with the name day search

6 May 2024

->Links to outside websites in the menu are now colored orange (rather than coral) ->New section: Color Converter, you can now translate color data between RGB, CMYK, and Hexcode ->Yom HaShoah is now movable to avoid being on Friday or Sunday ->Added another holiday, Macedonian Language Day +>Color Converter: This new section lets you translate color data between RGB, CMYK, and Hexcode +>Holidays: Yom HaShoah is now movable to avoid being on Friday or Sunday +>Holidays: Added another holiday, Macedonian Language Day +>Menu: Links to outside websites in the menu are now colored orange (rather than coral)

22 April 2024

->Fixed a glitch with how some multi-day holidays were displayed +>Holidays: Fixed a glitch with how some multi-day holidays were displayed

6 April 2024

->The old website address LETTERLY.GITHUB.IO/CALENDAR.HTML redirects to the new one now +>Website: The old website address LETTERLY.GITHUB.IO/CALENDAR.HTML redirects to the new one now

5 April 2024

->Made the update section easier to navigate ->Improved how the prayer direction section looks ->Great Circle and Rhumb Line calculations are now shown for every religion except Bahá'í (Great Circle only) +>Prayer Directions: Improved how the prayer direction section looks +>Prayer Directions: Great Circle and Rhumb Line calculations are now shown for every religion except Bahá'í (Great Circle only) +>Updates: Made the update section easier to navigate

4 April 2024

->Added an external website, the original Letterly website which teaches alphabets ->The website's new address is LETTERLY.GITHUB.IO rather than LETTERLY.GITHUB.IO/CALENDAR.HTML +>Learn Alphabets: Added an external website, the original Letterly website which teaches alphabets +>Website: The website's new address is LETTERLY.GITHUB.IO rather than LETTERLY.GITHUB.IO/CALENDAR.HTML

1 April 2024

->Added April Fools' Day as a global holiday ->Separate Braille conversion website is now linked ->Fixed date of Laetare Sunday ->Fixed some issues with how the changelog was displayed ->Modified the "return to menu" button +>Braille Converter: Separate Braille conversion website is now linked +>Holidays: Added April Fools' Day as a global holiday +>Holidays: Fixed date of Laetare Sunday +>Updates: Fixed some issues with how the changelog was displayed +>Website: Modified the "return to menu" button

31 March 2024

->AM/PM times are now an option in settings ->My separate numeral converter website is now linked in the menu, full integration coming soon ->Updated the time zones of European countries and Israel (I promise this will eventually be automatic... someday) +>Numeral Converter: My separate numeral converter website is now linked in the menu, full integration coming soon +>Settings: AM/PM times are now an option in settings +>Time Now: Updated the time zones of European countries and Israel (I promise this will eventually be automatic... someday)

30 March 2024

->Website renamed Internationalization Project from Universal Calendar Project ->The updates are now on the main website not a separate page ->Name Day Today and Find Name Day are now combined into a single Name Day section ->Fixed Wikipedia links for decimal time zones ->Added the Syloti calendar! +>Calendar Converter: Added the Syloti calendar! +>Name Day: Name Day Today and Find Name Day are now combined into a single Name Day section +>Time Now: Fixed Wikipedia links for decimal time zones +>Website: Website renamed Internationalization Project from Universal Calendar Project +>Updates: The updates are now on the main website not a separate page

29 March 2024

->Changed the Saudi Solar Hijri calendar to change days at midnight ->Fixed an issue displaying holidays on some days in the far future ->Fixed an issue with Zayin Adar being displayed twice during the month of Adar I ->Adjusted the way single digit Hebrew numerals are shown and changed the "thousands place" indicator +>Calendar Converter: hanged the Saudi Solar Hijri calendar to change days at midnight +>Calendar Converter: Adjusted the way single digit Hebrew numerals are shown and changed the "thousands place" indicator +>Holidays: Fixed an issue displaying holidays on some days in the far future +>Holidays: Fixed an issue with Zayin Adar being displayed twice during the month of Adar I

28 March 2024

->Added the Assyrian calendar! ->Added the Saudi Solar Hijri calendar! ->Assyrian New Year is now shown as 1 Nīsān not 1 April ->Added the Fast of Nineveh ->Added a few Orthodox/Coptic fasts ->Fixed an issue with the display of Coptic intercalary months ->Added seven Zoroastrian holidays (added to all three calendars) +>Calendar Converter: Added the Assyrian calendar! +>Calendar Converter: Added the Saudi Solar Hijri calendar! +>Calendar Converter: Fixed an issue with the display of Coptic intercalary months +>Holidays: Assyrian New Year is now shown as 1 Nīsān not 1 April +>Holidays: Added the Fast of Nineveh +>Holidays: Added a few Orthodox/Coptic fasts +>Holidays: Added seven Zoroastrian holidays (added to all three calendars)

27 March 2024

->Fixed the display of some Zoroastrian holidays ->Added the Zoroastrian holidays of Nouroz and Pateti ->Fixed an issue with the Bahá'í date in Arabic ->The day of the week now has a Wikipedia article attached ->The name search now does not care about letter casing ->Added Zoroastrian name-day feasts +>Calendar Converter: Fixed an issue with the Bahá'í date in Arabic +>Calendar Converter: The day of the week now has a Wikipedia article attached +>Holidays: Fixed the display of some Zoroastrian holidays +>Holidays: Added the Zoroastrian holidays of Nouroz and Pateti +>Holidays: Added Zoroastrian name-day feasts +>Name Day: The name search now does not care about letter casing

20 March 2024

->Added the Yazidi prayer direction +>Prayer Directions: Added the Yazidi prayer direction

18 March 2024

->Fixed issue with decimal time zones ->Zayin Adar is now on both Adar I and Adar II in leap years +>Holidays: Zayin Adar is now on both Adar I and Adar II in leap years +>Time Now: Fixed issue with decimal time zones

17 March 2024

->Zayin Adar is moved to Adar I in leap years instead of Adar II ->Started to fix some Belarusian names (by putting them in the nominative form) +>Holidays: Zayin Adar is moved to Adar I in leap years instead of Adar II +>Name Day: Started to fix some Belarusian names (by putting them in the nominative form)

16 March 2024

->Fixed some issues regarding the name day search ->New section: You can see times and time zones around the world +>Name Day: Fixed some issues regarding the name day search +>Time Now: A new section where you can see times and time zones for different cities around the world

15 March 2024

->Fixed an issue with how dates are displayed ->You can now only use the Gregorian calendar to search for name days ->You can now format dates for days other than today ->Added three holidays: Maslenitsa, Kupala Night, and Freedom Day (Belarus) ->New section: You can now search your name to find your name day +>Calendar Converter: Fixed an issue with how dates are displayed +>Date Formatter: You can now format dates for days other than today +>Holidays: Added three holidays: Maslenitsa, Kupala Night, and Freedom Day (Belarus) +>Name Day: You can now only use the Gregorian calendar to search for name days +>Name Day: You can now search your name to find your name day

14 March 2024

->Added the Mandaean word for Parwanaya to the calendar ->Fixed an issue regarding Hebrew and Arabic numerals ->Changed Belarus emoji to ⚪🔴⚪ ->Added Belarusian name days ->Fixed issues with a few Greek name days ->Bahá'í calendar now uses Arabic instead of Persian numerals ->Ayyám-i-Há became listed as a holiday and there is no longer a nineteen day feast for this intercalary month +>Calendar Converter: Added the Mandaean word for Parwanaya to the calendar +>Calendar Converter: Fixed an issue regarding Hebrew and Arabic numerals +>Calendar Converter: Bahá'í calendar now uses Arabic instead of Persian numerals +>Holidays: Ayyám-i-Há became listed as a holiday and there is no longer a nineteen day feast for this intercalary month +>Name Day: Changed Belarus emoji to ⚪🔴⚪ +>Name Day: Added Belarusian name days +>Name Day: Fixed issues with a few Greek name days

13 March 2024

->Added the city of Erbil ->Added the Yarsan direction of prayer +>Prayer Directions: Added the city of Erbil +>Prayer Directions: Added the Yarsan direction of prayer

11 March 2024

>Canada and USA now updated to daylight savings time... this should be done automatically soon enough @@ -173,48 +201,48 @@ changelog.innerHTML = >Added 26 new national holidays (224 total)

28 February 2024

->Made the holiday of Shavuot two days in the diaspora ->Added isru chag to the Three Pilgramage Holidays in Judaism ->"National holidays" is now "National/Global holidays"; Leap day, New Year's Eve, and New Year's Day have been moved ->Added 58 more national/global holidays (198 total) +>Holidays: Made the holiday of Shavuot two days in the diaspora +>Holidays: Added isru chag to the Three Pilgramage Holidays in Judaism +>Holidays: "National holidays" is now "National/Global holidays"; Leap day, New Year's Eve, and New Year's Day have been moved +>Holidays: Added 58 more national/global holidays (198 total)

27 February 2024

->Added the Jewish fast days of Zayin Adar, Twentieth of Sivan, and Fast of Behav ->Added the Jewish prayer observation of Leil Selichot for the Italian rite of Judaism ->Added the Islamic holidays of Laylat al-Miʿraj, Laylat al-Raghaib, and the Night of Power ->Added the monthly observances of Yom Kippur Katan and White Nights +>Holidays: Added the Jewish fast days of Zayin Adar, Twentieth of Sivan, and Fast of Behav +>Holidays: Added the Jewish prayer observation of Leil Selichot for the Italian rite of Judaism +>Holidays: Added the Islamic holidays of Laylat al-Miʿraj, Laylat al-Raghaib, and the Night of Power +>Holidays: Added the monthly observances of Yom Kippur Katan and White Nights

23 February 2024

->Added Ethiopian Christmas, the Pascal Triduum, Shrove Monday, Quinquagesima, Sexagesima, Septuagesima, and Allhallowtide ->Added 30 more national holidays (137 total) +>Holidays: Added Ethiopian Christmas, the Pascal Triduum, Shrove Monday, Quinquagesima, Sexagesima, Septuagesima, and Allhallowtide +>Holidays: Added 30 more national holidays (137 total)

22 February 2024

->Added the Druze holiday of Ziyarat al-Nabi Shu'ayb ->Added 41 more national holidays (107 total) +>Holidays: Added the Druze holiday of Ziyarat al-Nabi Shu'ayb +>Holidays: Added 41 more national holidays (107 total)

21 February 2024

->Added the Saudi cities of Medina and Riyadh ->National and Religious/Cultural Holidays are now separated ->Julian and Revised Julian calendars now both start at sunset ->Added the Orthodox holidays of Clean Monday and Great Lent ->Added 66 national holidays from around the world! ->Added Leap Day as a holiday +>Calendar Converter: Julian and Revised Julian calendars now both start at sunset +>Prayer Directions: Added the Saudi cities of Medina and Riyadh +>Holidays: National and Religious/Cultural Holidays are now separated +>Holidays: Added the Orthodox holidays of Clean Monday and Great Lent +>Holdays: Added 66 national holidays from around the world! +>Holidays: Added Leap Day as a holiday

20 February 2024

->Added three Ahmadi holidays ->Fixed the way some observances are displayed ->Some Shia observances were added ->Three Yazidi holidays were added too ->Added the Mandaean holy day of the week, Habshaba (Sunday) and the Samaritan holy day Shabbat (Saturday) +>Holidays: Added three Ahmadi holidays +>Holidays: Fixed the way some observances are displayed +>Holidays: Some Shia observances were added +>Holidays: Three Yazidi holidays were added too +>Holidays: Added the Mandaean holy day of the week, Habshaba (Sunday) and the Samaritan holy day Shabbat (Saturday)

5 February 2024

->Added two special Shabbats: Chazon & Shira +>Holidays: Added two special Shabbats: Chazon & Shira

4 February 2024

->Added the rare Jewish observance of Birkat Hachama which happens once every 28 years +>Holidays: Added the rare Jewish observance of Birkat Hachama which happens once every 28 years

3 February 2024

->Added seven special Shabbat types (Shuva, Sehkalim, Zachor, Parah, HaChodesh, Nachamu, & HaGadol) +>Holidays: Added seven special Shabbat types (Shuva, Sehkalim, Zachor, Parah, HaChodesh, Nachamu, & HaGadol)

2 February 2024

>Added the Jewish holiday of Chag HaBanot, as well as Leil Selichot (in both Ashkenazi and Sephardi tradition) @@ -245,10 +273,10 @@ changelog.innerHTML = >Changed Christian Sabbath to "Lord's Day" >Added the cities of Akko, Jakarta and Melbourne >Added the Mizrah angle ->Renamed "changelog" to Updates and slightly changed the appearance +>Updates: Renamed "Changelog" to Updates and slightly changed the appearance

6 January 2024

->The Qibla angle is set to "Face the Kaaba" if the city selected is Mecca +>Prayer Directions: The Qibla angle is set to "Face the Kaaba" if the city selected is Mecca >Added New Year's Day as a holiday >I changed the way some religious holidays are displayed >Fixed Mexico City's time zone @@ -257,7 +285,7 @@ changelog.innerHTML = >Changed website title from Date Converter to Universal Calendar Project >Now you can select location to see sunrise/sunset times >Four of the five daily Islamic prayers are shown too, as are three Jewish times [Daybreak, end of Shabbat & Sof Zman Kriyat Shema] ->The direction of the Qibla and Qiblih is now shown too +>Prayer Directions: The direction of the Qibla and Qiblih is now shown too

27 December 2023

>Fixed an issue with the display of Zoroastrian holidays @@ -269,27 +297,27 @@ changelog.innerHTML = >The Jewish fast day, '10th of Tevet' was added

20 December 2023

->Added the holy day of the week for Judaism, Christianity, Islam, and the Bahá'í Faith ->Added the monthly observances of Rosh Chodesh [Judaism] and the Nineteen Day Feasts [Bahá'í Faith] +>Holidays: Added the holy day of the week for Judaism, Christianity, Islam, and the Bahá'í Faith +>Holidays: Added the monthly observances of Rosh Chodesh [Judaism] and the Nineteen Day Feasts [Bahá'í Faith]

15 December 2023

->Fixed another issue regarding Hanukkah days +>Holidays: Fixed another issue regarding Hanukkah days

8 December 2023

->Fixed an issue regarding Hanukkah days +>Holidays: Fixed an issue regarding Hanukkah days

1 November 2023

->Added the Bahá'í observances of the Nineteen-Day Fast and Riḍván ->Fixed an issue of Bahá'í holidays not being displayed +>Holidays: Added the Bahá'í observances of the Nineteen-Day Fast and Riḍván +>Holidays: Fixed an issue of Bahá'í holidays not being displayed

29 September 2023

->Starting to change how individual sects display holidays +>Holidays: Starting to change how individual sects display holidays

30 August 2023

->Fixed an issue with religions' Wikipedia article links +>Holidays: Fixed an issue with religions' Wikipedia article links

23 August 2023

->Added Wikipedia articles for the religions +>Holidays: Added Wikipedia articles for the religions

22 August 2023

>Added the Mandaean festival of Parwanaya @@ -303,7 +331,7 @@ changelog.innerHTML = >Fixed an issue with displaying a link for the month of Adar in certain years

16 August 2023

->Rosh Hashanah Lemaasar Behema, Purim Katan, Shushan Purim Katan, and Purim Meshulash added to the Hebrew calendar +>Holidays: Rosh Hashanah Lemaasar Behema, Purim Katan, Shushan Purim Katan, and Purim Meshulash added to the Hebrew calendar

15 August 2023

>Fixed an issue in displaying the first day of the week of the Gregorian calendar @@ -387,102 +415,102 @@ changelog.innerHTML = >Added Zoroastrian holidays to the Qadimi and Shahanshahi calendars

26 May 2023

->Added some Gregorian, Julian and Zoroastrian holidays +>Holidays: Added some Gregorian, Julian and Zoroastrian holidays

25 May 2023

->Added the Kurdish calendar ->Fixed a glitch with selecting certain Hebrew months ->Fixed some issues with how some holidays were displayed ->Added the Jewish holiday of Pesach (Passover) ->Added Hebrew fasts which move to avoid being on Saturday (Shabbat): "Fast of Gedalia", "Fast of Esther", "Fast of the Firstborn" +>Calendar Converter: Added the Kurdish calendar +>Calendar Converter: Fixed a glitch with selecting certain Hebrew months +>Holidays: Fixed some issues with how some holidays were displayed +>Holidays: Added the Jewish holiday of Pesach (Passover) +>Holidays: Added Hebrew fasts which move to avoid being on Saturday (Shabbat): "Fast of Gedalia", "Fast of Esther", "Fast of the Firstborn"

24 May 2023

->The days of the week are now in all six official UN languages ->Changed the apperance of the inputs and made some minor stylistic edits ->Ethiopian numerals are now used on the Ethiopian calendar ->Fixed a glitch involving months with multiple words in the name ->Show which calendars have days that start on sunrise or sunset (rather than midnight) +>Calendar Converter: The days of the week are now in all six official UN languages +>Calendar Converter: Changed the apperance of the inputs and made some minor stylistic edits +>Calendar Converter: Ethiopian numerals are now used on the Ethiopian calendar +>Calendar Converter: Fixed a glitch involving months with multiple words in the name +>Calendar Converter: Show which calendars have days that start on sunrise or sunset (rather than midnight)

23 May 2023

->Renamed Coptic epagomenal month to "Pi Kogi Enavot" ->All calendars are shown in their native languages (and numeral systems) ->Switched the order of Tabarian months to be correct ->Added my email +>Calendar Converter: Renamed Coptic epagomenal month to "Pi Kogi Enavot" +>Calendar Converter: All calendars are shown in their native languages (and numeral systems) +>Calendar Converter: Switched the order of Tabarian months to be correct +>Contact/Info: Added my email

22 May 2023

->Added "Julian-based" as a calendar selection category ->Removed the Burmese calendar for technical reasons :( ->Added Armenian Christmas (Jan 6) as a holiday ->Added holidays to the Julian calendar ->Added the day in French :) ->Around half the calendars are now additionally shown in their native languages +>Calendar Converter: Added "Julian-based" as a calendar selection category +>Calendar Converter: Removed the Burmese calendar for technical reasons :( +>Calendar Converter: Added the day in French :) +>Calendar Converter: Around half the calendars are now additionally shown in their native languages +>Holidays: Added Armenian Christmas (Jan 6) as a holiday +>Holidays: Added holidays to the Julian calendar

21 May 2023

->Added the Shia date for the holiday of Mawlid and added Eid al-Ghadir ->Added Nativity of John the Baptist as a Christian holiday ->Badi calendar renamed to Bahá'í ->Holidays can now be multiday (made Hanukkah 8 days and Rosh Hashanah 2 days) ->Added the Jewish festival of Sukkot (7 days) +>Calendar Converter: Badi calendar renamed to Bahá'í +>Holidays: Added the Shia date for the holiday of Mawlid and added Eid al-Ghadir +>Holidays: Added Nativity of John the Baptist as a Christian holiday +>Holidays: Holidays can now be multiday (made Hanukkah 8 days and Rosh Hashanah 2 days) +>Holidays: Added the Jewish festival of Sukkot (7 days)

20 May 2023

->Holidays are now shown for the Hebrew, Gregorian, Islamic Tabular, Mandaean, and Badi calendars ->Each holiday has a link to relevant information +>Holidays: Holidays are now shown for the Hebrew, Gregorian, Islamic Tabular, Mandaean, and Badi calendars +>Holidays: Each holiday has a link to relevant information

6 May 2023

->Added Nanakshahi era "KE" and Nepal Sambat Solar era "NE" +>Calendar Converter: Added Nanakshahi era "KE" and Nepal Sambat Solar era "NE"

4 May 2023

->Added Mandaean era "AA" and Indian National era "SE" +>Calendar Converter: Added Mandaean era "AA" and Indian National era "SE"

1 May 2023

->Simplified the Zoroastrian calendars' names ->Reorganized the 'calendar' selector based on calendar type ->The Hebrew month of Adar is now called Adar I in leap years ->Added the Burmese calendar, there may be some errors as there is very little information about it in English +>Calendar Converter: Simplified the Zoroastrian calendars' names +>Calendar Converter: Reorganized the 'calendar' selector based on calendar type +>Calendar Converter: The Hebrew month of Adar is now called Adar I in leap years +>Calendar Converter: Added the Burmese calendar, there may be some errors as there is very little information about it in English

30 April 2023

->Issue with selecting Nisan in some Hebrew calendar years solved ->Fixed a critical error which broke the website when the current Gregorian month day was less than 10 +>Calendar Converter: Issue with selecting Nisan in some Hebrew calendar years solved +>Calendar Converter: ixed a critical error which broke the website when the current Gregorian month day was less than 10

22 April 2023

->Fixed upper bound for Tabarian ->Added the Zoroastrian Fasli, Qadimi, and Shahanshahi calendars ->Revised the way months are displayed ->Added my personal website to the contact information +>Calendar Converter: Fixed upper bound for Tabarian +>Calendar Converter: Added the Zoroastrian Fasli, Qadimi, and Shahanshahi calendars +>Calendar Converter: Revised the way months are displayed +>Contact/Info: Added my personal website to the contact information

20 April 2023

->Made inputting dates easier ->I added another Islamic Tabular calendar, the Islamic Tabular Tayyibi calendar ->I added my name and a link to the changelog at the bottom ->The upper/lower year limits are now shown for every calendar now, not just Gregorian ->Fixed some of the Wikipedia links ->Added Nepal Sambat Solar and Thai Solar calendars ->Added Tabarian, it could have leap year algorithm issues :( ->Fixed Bengali calendar issue ->Fixed an issue with Revised Julian calendar leap years ->Made the website a little more aesthetic and added the Montserrat font ->Eras are now displayed with most calendars (like CE, AD, AH, SH, BE etc.) +>Calendar Converter: Made inputting dates easier +>Calendar Converter: I added another Islamic Tabular calendar, the Islamic Tabular Tayyibi calendar +>Calendar Converter: The upper/lower year limits are now shown for every calendar now, not just Gregorian +>Calendar Converter: Fixed some of the Wikipedia links +>Calendar Converter: Added Nepal Sambat Solar and Thai Solar calendars +>Calendar Converter: Added Tabarian, it could have leap year algorithm issues :( +>Calendar Converter: Fixed Bengali calendar issue +>Calendar Converter: Fixed an issue with Revised Julian calendar leap years +>Calendar Converter: Eras are now displayed with most calendars (like CE, AD, AH, SH, BE etc.) +>Website: I added my name and a link to the changelog at the bottom +>Website: Made the website a little more aesthetic and added the Montserrat font

19 April 2023

->Added Hebrew and Islamic Tabular calendars ->Improved UI: The website now automatically loads the current date ->Improved the date selection scheme +>Calendar Converter: Added Hebrew and Islamic Tabular calendars +>Calendar Converter: The website now automatically loads the current date +>calendar Converter: Improved the date selection scheme

18 April 2023

->Added the Badi, Bengali, Juche, Julian, Minguo, Mool Nanakshahi, and Revised Julian calendars ->Indian is now called Indian National, Iranian is now called Solar Hijri ->Added Wikipedia links to the calendars ->Reduced upper year limit to 2060 CE (sorry, will increase later) +>Calendar Converter: Added the Badi, Bengali, Juche, Julian, Minguo, Mool Nanakshahi, and Revised Julian calendars +>Calendar Converter: Indian is now called Indian National, Iranian is now called Solar Hijri +>Calendar Converter: Added Wikipedia links to the calendars +>Calendar Converter: Reduced upper year limit to 2060 CE (sorry, will increase later)

15 January 2023

->Added the Coptic calendar +>Calendar Converter: Added the Coptic calendar

14 January 2023

->Added the Ethiopian calendar +>Calendar Converter: Added the Ethiopian calendar

13 January 2023

->I started the change log today :) ->So far the program converts dates in the Gregorian, Armenian, Berber, Indian, Iranian, and Mandaean calendars from approximately 1901 to 2172 CE
` +>Updates: I started the changelog today :) +>Calendar Converter: So far the program converts dates in the Gregorian, Armenian, Berber, Indian, Iranian, and Mandaean calendars from approximately 1901 to 2172 CE
` /* KNOWN ISSUES diff --git a/calendar.css b/calendar.css index f750712..7ebb0f4 100644 --- a/calendar.css +++ b/calendar.css @@ -20,7 +20,7 @@ body{ color: black; } -#settings, #measure, #color, #changelog, #dayname, #namesearch, #format, #zmanim, #sunrisesunset, #prayertimes, #mandaictimes, #angles, #nationalholidays, #holidays, #observances, #monthly, #weekly, #answer, #selectblockfive, #selectblockone, #selectblocktwo, #contactinfo, #namediv, #timenow, #findany{ +#settings, #temperature, #measure, #color, #changelog, #dayname, #namesearch, #format, #zmanim, #sunrisesunset, #prayertimes, #mandaictimes, #angles, #nationalholidays, #holidays, #observances, #monthly, #weekly, #answer, #selectblockfive, #selectblockone, #selectblocktwo, #contactinfo, #namediv, #timenow, #findany, #currencies{ display: none; } #contactinfo{ @@ -405,7 +405,7 @@ h2{ text-decoration: dotted underline !important; } -#sunrisesunset, #timenow, #zmanim, #prayertimes, #mandaictimes, #angles, #namediv, #format, #namesearch, #measure{ +#sunrisesunset, #timenow, #zmanim, #prayertimes, #mandaictimes, #angles, #namediv, #format, #namesearch, #measure, #currencies, #temperature{ border-radius: 5px; width: 80vw; margin-left: 10vw; diff --git a/calendar.js b/calendar.js index deb208b..5231ace 100644 --- a/calendar.js +++ b/calendar.js @@ -7,6 +7,7 @@ jmlist = ["January", "February", "March", "April", "May", "June", "July", "Augus preferences = { gregEra: "CE", time: "24", + degree: "decimal", } @@ -504,7 +505,13 @@ function locationChange(){ else if(g > 112.5) dir = "(SE ↘)" else if(g > 67.5) dir = "(E →)" else dir = "(NE ↗)" - holysites[h].direction = g + "° " + dir + if(preferences.degree == "arcminute"){ + g = Math.floor(g) + "° " + Math.round((g % 1) * 60) + "′ " + } + else{ + g += "° " + } + holysites[h].direction = g + dir } angles.innerHTML = "" @@ -519,7 +526,7 @@ function locationChange(){ Judaism (Mizrah) - ${city != "Jerusalem" ? + ${city != "Jerusalem 🇮🇱" ? `${holysites.Temple.direction} ${holysites.Temple2.direction}` : @@ -528,7 +535,7 @@ function locationChange(){ Samaritanism - ${city != "Nablus" ? + ${city != "Nablus 🇵🇸" ? `${holysites.Gerizim.direction} ${holysites.Gerizim2.direction}` : @@ -537,7 +544,7 @@ function locationChange(){ Islam (Qibla) - ${city != "Mecca" ? + ${city != "Mecca 🇸🇦" ? `${holysites.Kaaba.direction} ${holysites.Kaaba2.direction}` : @@ -546,7 +553,7 @@ function locationChange(){ Bahá'í (Qiblih) - ${city != "Akko" ? + ${city != "Akko 🇮🇱" ? `${holysites.Qiblih.direction} -` : @@ -902,6 +909,18 @@ function twelve(){ reset() } +function degree(){ + if(preferences.degree == "decimal"){ + preferences.degree = "arcminute" + deg.innerHTML = "5.5°/5° 30′" + } + else{ + preferences.degree = "decimal" + deg.innerHTML = "5.5°/5° 30′" + } + reset() +} + function dateify(){ moji = loc.options[loc.selectedIndex].text.split(" ").slice(-1)[0] dateFormat = { @@ -3787,6 +3806,19 @@ function holidaycheck(thatday){ day: ["27 Rajab"], link: "https://en.wikipedia.org/wiki/Isra%27_and_Mi%27raj#Modern_Muslim_observance", }, + { + cal: "Islamic Tabular", + name: "Laylat al-Jaiza", + day: ["30 Ramadan"], + link: "https://en.wikipedia.org/wiki/Isra%27_and_Mi%27raj#Modern_Muslim_observance", + }, + { + sect: "Shia Islam", + cal: "Islamic Tabular", + name: "Ehya Night", + day: ["19 Ramadan", "21 Ramadan", "23 Ramadan"], + link: "https://en.wikipedia.org/wiki/Ehya_night", + }, { cal: "Islamic Tabular", name: "Laylat al-Raghaib", @@ -5092,13 +5124,10 @@ function reveal(subject){ else{ header.innerHTML = `Internationalization Project` menu.style.display = "block" - for(oooo of "settings dayname measure findany color changelog timenow namesearch zmanim format sunrisesunset prayertimes mandaictimes angles nationalholidays holidays observances monthly weekly answer selectblockfive selectblockone selectblocktwo contactinfo namediv".split(" ")) document.getElementById(oooo).style.display = "none" + for(oooo of "settings dayname currencies measure temperature findany color changelog timenow namesearch zmanim format sunrisesunset prayertimes mandaictimes angles nationalholidays holidays observances monthly weekly answer selectblockfive selectblockone selectblocktwo contactinfo namediv".split(" ")) document.getElementById(oooo).style.display = "none" } switch(subject){ - case "color": - color.style.display = "block" - break case "calendar": selectblockone.style.display = "block" selectblocktwo.style.display = "block" @@ -5141,16 +5170,13 @@ function reveal(subject){ weekly.style.display = "block" break case "contactinfo": - contactinfo.style.display = "block" - break case "changelog": - changelog.style.display = "block" - break case "settings": - settings.style.display = "block" - break case "measure": - measure.style.display = "block" + case "currencies": + case "temperature": + case "color": + document.getElementById(subject).style.display = "block" break case "name": thecalendar.value = "Gregorian" @@ -5320,9 +5346,441 @@ function colorconvert(type){ function measureConvert(x){ if(x == 0){ - Math.round((measure1.value = measure0.value * unit0.value / unit1.value) * 1000) / 1000 + measure1.value = Math.round((measure0.value * unit0.value / unit1.value) * (10**10)) / (10**10) + } + else{ + measure0.value = Math.round((measure1.value * unit1.value / unit0.value) * (10**10)) / (10**10) + } +} +function currencyConvert(x){ + if(x == 0){ + money1.value = Math.round((money0.value * currency0.value / currency1.value) * (10**10)) / (10**10) } else{ - Math.round((measure0.value = measure1.value * unit1.value / unit0.value) * 1000 ) / 1000 + money0.value = Math.round((money1.value * currency1.value / currency0.value) * (10**10)) / (10**10) } -} \ No newline at end of file +} + + +units = { + Length: { //base unit: m + Metric: { + "ångström": 0.0000000001, + "nanometer (μm)": 0.000000001, + "micron/micrometer (μm)": 0.000001, + "millimeter (mm)": 0.001, + "centimeter (cm)": 0.01, + "meter (m)": 1, + "kilometer (km)": 1000, + "Scandanavian mile": 10000, + }, + Imperial: { + "thou": 0.0000254, + "inch (in)": 0.0254, + "rack unit": 0.04445, + "hand (hh)": 0.1016, + "foot (ft)": 0.3048, + "yard (yd)": 0.9144, + "rod": 5.0292, + "chain (ch)": 20.1168, + "furlong": 201.168, + "mile": 1609.344, + }, + Astronomical: { + "light-second": 299792458, + "astronomical unit (au)": 14959787070, + "light-year (ly)": 946073047258080, + "parsec (pc)": 3085677581467190, + }, + Nautical: { + "fathom": 1.8288, + "nautical mile (nmi)": 1852, + }, + Taiwanese: { + "fēn (分)": 0.00303, + "cùn (寸)": 0.0303, + "chǐ (尺)": 0.303, + "zhàng (丈)": 3.03, + }, + }, + Weight: { //base unit: mg + Metric: { + "microgram (μg)": 0.001, + "milligram (mg)": 1, + "gram (g)": 1000, + "kilogram (kg)": 1000000, + "metric ton": 1000000000, + }, + Imperial: { + "grain": 64.8, + "ounce (oz)": 28349.523, + "pound (lb)": 453592, + "stone": 6350293, + "hundredweight (cwt) [U.S.]": 45359237, + "hundredweight (cwt) [U.K.]": 50802345, + "ton [U.S.]": 907184740, + "ton [U.K.]": 1016046909, + }, + Troy: { + "pennyweight (dwt)": 1555, + "troy ounce (oz t)": 31100, + "troy pound (lb t)": 373241.7, + } + }, + Volume: { //base unit mL + Metric: { + "milliliter (mL)": 1, + "metric teaspoon": 5, + "centiliter (cL)": 10, + "metric tablespoon": 15, + "metric cup": 250, + "liter (L)": 1000, + "cubic meter (m³)": 1000000, + }, + Imperial: { + "imperial fluid dram": 3.551632, + "imperial teaspoon (imp tsp)": 5.919, + "imperial tablespoon (imp tbsp)": 17.758, + "imperial fluid ounce (imp fl oz)": 28.413, + "imperial gill": 142.065, + "imperial pint (imp pt)": 568.261, + "imperial quart (imp qt)": 1136.52, + "imperial gallon (imp gal)": 4546.09, + "imperial peck": 9092.18, + "imperial bushel (imp bsh)": 36368.72, + "cubic feet (ft³)": 28316.8, + "cubic yard (yd³)": 764554.9, + "acre-foot (ac ft)": 12334818.375, + }, + "U.S. Liquid Volume": { + "U.S. fluid dram": 3.696691, + "U.S. teaspoon (imp tsp)": 4.929, + "U.S. tablespoon (US tbsp)": 14.787, + "U.S. fluid ounce (US fl oz)": 29.5735, + "U.S. gill": 118.294, + "U.S. cup": 236.588, + "U.S. pint (US pt)": 473.176, + "U.S. quart (US qt)": 946.352, + "U.S. gallon (US gal)": 3785.41, + }, + "U.S. Dry Volume": { + "U.S. dry pint": 550.61047, + "U.S. dry quart": 8809.7675, + "U.S. dry gallon": 4404.883, + "U.S. peck": 8809.76754, + "U.S. bushel (US bsh)": 35239.1, + }, + "U.S. Nutrition Labeling": { + "U.S. food labeling fluid ounce": 30, + "legal cup": 240, + }, + "Australian": { + "Australian teaspoon": 5, + "Australian dessertspoon": 10, + "Australian tablespoon": 20, + }, + }, + Speed: { //base unit m/s + Metric: { + "meters per second (m/s)": 1, + "kilometers per hour (km/h)": 3.6, + }, + Imperial: { + "feet per second (ft/s)": 3.280840, + "miles per hour (mph)": 2.236936, + }, + "Nautical/Aviation": { + "knots (kn)": 1.943844 + }, + }, + Pressure: { //base unit bar + "Metric": { + "pascal": 0.00001, + "millibar": 0.001, + "hectopascal": 0.001, + "kilopascal": 0.01, + "millimeter of mercury (mmHg)": 0.00133322, + "bar": 1, + }, + "Imperial": { + "pouns per square inch (psi)": 0.06894757, + "inch of mercury (inHg)": 0.0338639, + }, + "Scientific": { + "torr": 0.001333224, + "technical atmosphere (at)": 0.980665, + "atmosphere (atm)": 1.01325, + }, + }, + Power: { //base unit: W + "Metric": { + "watt (W)": 1, + "kilowatt (kW)": 1000, + "metric horsepower": 735.49875, + }, + "Imperial": { + "imperial horsepower (hp)": 745.7, + "refrigeration ton (RT)": 3516.85 + }, + }, + Area: { //base unit: m² + "Metric": { + "square meter (m²)": 1, + "are (a)": 100, + "decare (daa)": 1000, + "stremma": 1000, + "hectare": 10000, + "square kilometer (km²)": 1000000, + }, + "Imperial": { + "square inch (in²)": 0.00064516, + "square foot (ft²)": 0.092903, + "square yard (yd²)": 0.836127, + "square [construction]": 9.29030, + "square mile (mi²)": 2589990, + "acre (ac)": 4046.856, + }, + "Middle Eastern": { + "kirat": 175, + "dunam": 1000, + "feddan": 4200, + }, + "Thai": { + "tarang wa (ตารางวา)": 4, + "ngan (งาน)": 400, + "rai (ไร่)": 1600, + }, + "Japanese": { + "shaku (勺)": 0.03306, + "gō (合)": 0.3306, + "jō (畳)": 1.653, + "tsubo (坪)": 3.306, + "se (畝)": 99.17, + "tan (段)": 991.7, + "chōbu (町)": 9917, + }, + }, + Angle: { + "Traditional": { + "turn": 1296000, + "degree (°)": 3600, + "minute of arc (′)": 60, + "arcsecond (″)": 1, + "milliarcsecond (mas)": 0.001, + "microarcsecond (μas)": 0.000001, + "nanoarcsecond (nas)": 0.000000001, + }, + "Mathematical": { + "radian": 206265, + "milliradian (mrad)": 206.265, + }, + "Engineering": { + "gradian (ᵍ)": 3240, + }, + }, + Time: { + "Common": { + "second (s)": 1, + "minute (min)": 60, + "hour (h)": 3600, + "day (d)": 86400, + "week": 604800, + "fortnight": 1209600, + "common year": 31536000, + "leap year": 31622400, + }, + "Scientific": { + "millisecond (ms)": 0.001, + "microsecond (μs)": 0.000001, + "nanosecond (ns)": 0.000000001, + "picosecond (ps)": 0.000000000001, + } + }, + //LENGTH, MASS, VOLUME, SPEED, PRESSURE, POWER, AREA, ANGLES, TIME + //TEMPERATURE (separate) +} + +USD = 1 +Euro = 0.91925 +worldCurrencies = { + "U.S. Dollar": { + Symbol: "$", + Code: "USD", + Value: USD, + }, + "Aruban Florin": { + Symbol: "ƒ", + Code: "AWG", + Value: 1.79 * USD, + }, + "Azerbaijani Manat": { + Symbol: "₼", + Code: "AZN", + Value: 1.7 * USD, + }, + "Bahamian Dollar": { + Symbol: "$", + Code: "BHD", + Value: USD, + }, + "Bahraini Dinar": { + Symbol: ".د.ب", + Code: "BHD", + Value: 0.376 * USD, + }, + "Barbadian Dollar": { + Symbol: "$", + Code: "BBD", + Value: 2 * USD, + }, + "Belize Dollar": { + Symbol: "$", + Code: "BZD", + Value: 2 * USD, + }, + "Bermudian Dollar": { + Symbol: "$", + Code: "BMD", + Value: USD, + }, + "Bolivian Boliviano": { + Symbol: "Bs‎", + Code: "BOB", + Value: 6.96 * USD, + }, + "Bosnian Convertible Mark": { + Symbol: "KM", + Code: "BAM", + Value: Euro * 1.95583, + }, + "Bulgarian Lev": { + Symbol: "лв.", + Code: "BGN", + Value: Euro * 1.95583, + }, + "Cayman Islands Dollar": { + Symbol: "$", + Code: "KYD", + Value: USD * 0.8333, + }, + "Central African CFA Franc": { + Symbol: "F.CFA‎", + Code: "XAF", + Value: Euro * 655.957, + }, + "CFP Franc": { + Symbol: "F", + Code: "XPF", + Value: Euro * 119.33174, + }, + "Comorian Franc": { + Symbol: "FC", + Code: "KMF", + Value: Euro * 491.96775, + }, + "Danish Krone": { + Symbol: "kr.", + Code: "DKK", + Value: Euro * 7.46038, + }, + "Djiboutian Franc": { + Symbol: "Fdj", + Code: "DJF", + Value: USD * 177.721, + }, + "Eastern Caribbean Dollar": { + Symbol: "EC$", + Code: "XCD", + Value: USD * 2.7, + }, + "Eritrean Nakfa": { + Symbol: "Nkf", + Code: "ERN", + Value: USD * 15, + }, + "Euro": { + Symbol: "€", + Code: "EUR", + Value: Euro, + }, + "Hong Kong Dollar": { + Symbol: "HK$", + Code: "HKD", + Value: USD * 7.8, + }, + "Jordanian Dinar": { + Symbol: "د.أ‎", + Code: "JOD", + Value: USD * 0.709, + }, + "Macanese Pataca": { + Symbol: "$", + Code: "MOP", + Value: USD * 7.5728, + }, + "Macedonian Denar": { + Symbol: "den", + Code: "MKD", + Value: 61.3644 * Euro, + }, + "Netherlands Antillean Guilder": { + Symbol: "NAƒ", + Code: "ANG", + Value: USD * 1.79, + }, + "Omani Rial": { + Symbol: "ر.ع", + Code: "OMR", + Value: USD * 0.384497, + }, + "Panamanian Balboa": { + Symbol: "B/.", + Code: "PAB", + Value: USD, + }, + "Qatari Riyal": { + Symbol: "QR", + Code: "QAR", + Value: USD * 3.64, + }, + "West African CFA Franc": { + Symbol: "F.CFA‎", + Code: "XOF", + Value: Euro * 655.957, + }, + "São Tomé and Príncipe Dobra": { + Symbol: "Db", + Code: "STN", + Value: 24.5 * Euro, + }, + "Saudi Riyal": { + Symbol: "ر.س", + Code: "SAR", + Value: 3.75 * USD, + }, + "United Arab Emirates Dirham": { + Symbol: "د.إ‎", + Code: "AED", + Value: 3.6725 * USD, + }, +} + +for(x of Object.entries(worldCurrencies)){ + currency0.innerHTML += `` + currency1.innerHTML += `` +} + +function measureSetUp(unit){ + conv = "" + for(x of Object.keys(units[unit])){ + conv += `` + for(y of Object.entries(units[unit][x])){ + conv += `` + } + conv += `` + } + unit0.innerHTML = conv + unit1.innerHTML = conv +} + +measureSetUp("Length") \ No newline at end of file diff --git a/index.html b/index.html index 39dce35..df685bf 100644 --- a/index.html +++ b/index.html @@ -11,17 +11,20 @@

Internationalization ProjectSelect a section:

+ + - + + @@ -251,6 +254,7 @@

Email me here with any question
+
@@ -263,50 +267,51 @@

Email me here with any question

hsv(°, %, %)

hwb(°, %, %)

-

- - + + + + + + + + +

- - + + +
+
+ + +
+
+ + +
+
+ + +
+ diff --git a/uninumber.html b/uninumber.html index cc128db..922daeb 100644 --- a/uninumber.html +++ b/uninumber.html @@ -4,10 +4,34 @@