Add holiday/shabbat

This commit is contained in:
Madison Rye Progress
2025-10-06 00:36:20 -07:00
parent 277cfc7a00
commit 3277c52b17

View File

@ -59,7 +59,9 @@ You can use this form to convert to/from [systime](https://wiki.post-self.ink/wi
document.getElementById('output').innerHTML = ``;
document.getElementById('systime').value = json.systime.string;
document.getElementById('date').value = json.gregorian.string;
document.getElementById('hebrew').value = json.hebrew.string;
document.getElementById('hebrew').value = json.hebrew.string
+ (json.hebrew.holiday !== null ? ' — ' + json.hebrew.holiday : '')
+ (json.hebrew.shabbat ? ' (Shabbat)' : '');
}
</script>