The date here is currently 3/30/2022 (12:56 AM), but the calendar tells me it's the 29th of March (I assume that's what the red box around the day means).
Indeed. This is what I used to use before I gave in and built this. What I was missing most of all, was marks. Be able to pull up a calendar when sharing my screen with my team to collaborate on dates while marking them for some bearings. Sure, I could double-click on a date in `cal`'s output, which was what I used to do, but I can mark only a single date with that.
Thank you for building it! This is super useful. I have always been frustrated with not having access to a clean calendar, given that I use mac os (for personal stuff) and windows (for work). Apple built-in calendar app and Outlook calendar for Windows are too clunky to use. cal -y is convenient if you have a terminal window open, which I often don't have . Most of the times when I need to do something with the dates I am on my browser and what you have built comes in handy.
I never liked the calendar from apple if I quickly wanted to look something up.
After looking at the OP website I was already thinking this is what I want.
However after learning from you that I could also type "cal" in the terminal, mind blown.
'cal' is not recognized as an internal or external command, operable program or batch file.
cal : The term 'cal' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cal
+ ~~~
+ CategoryInfo : ObjectNotFound: (cal:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Hey, thanks for the kind words. The problem should've been fixed by now, so please check it out again. Let me know if any particular date format doesn't work.
Thanks! I've started using week numbers to keep track of certain weekly tasks and didn't have a good solution for the "I'm half asleep and can't recall(+forgot to write an alias for) a highly specific `cal` invocation" case.
An extra thanks to everyone checking this out and sharing issues you've faced. The fact that you folks are vocal about the issues you faced instead of just moving on, tells me I'm not the only who needed something like this. Cheers!
thank you for the reminder that, sometimes, the tools we really need are not the complex, fancy "products", but indeed "Just a calendar". I like the simple, no-depenency solution.
You can save the year you're viewing as well as any highlighted dates and their color. You can fit a lot in query params or further even compress the dates.
Hey, thanks for the suggestion. I actually considered this multiple times, but I'm yet to figure out a way to not have this clash with the marked dates in localStorage, in an easy-to-understand way.
Hey, sorry for this. It actually should be working on mobile. Can you check now, or share more details on what you are seeing or what problems you are facing please?
Hey, thanks. Yeah, that's what I started off with, but after two years, just looking at the code, I have _no_ idea what's going on. And I can see myself reinventing some framework in a bad way, if I am to add more features and fix stuff. So, went with my favorite combination, TypeScript and Mithril.js.
56 comments
[ 3.2 ms ] story [ 128 ms ] threadShould be fixed now.
Did you switch from UTC to AoE?
"Today" should be determined by the client's settings, ideally with a configurable tz database timezone to override as well.
Calendars look good and highlighting works. You could put highlight details in localstorage so you can keep them.
On my phone the header part is not good in portrait mode and not great in landscape.
The marks are actually stored in localStorage already, and is working in a desktop browser. Isn't it working for you on a mobile device?
After looking at the OP website I was already thinking this is what I want. However after learning from you that I could also type "cal" in the terminal, mind blown.
Thank you to both of you!
https://communary.net/2014/12/21/show-calendar-cal-for-power...
https://jdhitsolutions.com/blog/powershell/6101/powershell-c...
I often find myself opening Outlook just to look at a calendar.
It also doesn't let me mark dates easily, like yours does.
Hmm:
> Can we use your data to tailor ads for you?
> Our partners will collect data and use cookies for ad personalization and measurement.
No thanks.
Go to your Terminal and type
$ calendar -f /usr/share/calendar/calendar.lotr -A 365
Console shows the error:
Uncaught TypeError: app is undefined
https://calendar.sharats.me?g=20220101,20220102, ....
You can save the year you're viewing as well as any highlighted dates and their color. You can fit a lot in query params or further even compress the dates.
We'll get there though, soon. :)
Always thought that was kind of funny, but I've seen a codebase use it once or twice.
The marks disappearing is, unfortunately, just the default print setting. I think if you enable the "background graphics" option, they'll show up.
I'll figure out a better way. Perhaps, the marks could be text-color, instead of background, when printing.
I actually didn't realize I was still loading GA, thought I'd removed it long ago. Well, thanks for pointing it out. :)
To get a calendar that just works for me
https://davidseah.com/node/compact-calendar/
I keep a pdf and screenshot version on my desktop and phone. For date ranges, I use the excel version.