Skip to content

Conversation

@octref
Copy link

@octref octref commented Oct 27, 2020

Changes:

  • Support full arvelie format, such as arvelie 1919Q13 -> 1919-08-25
  • When inputing a date not in year 20xx, output full arvelie format, such as arvelie 1986-03-22 -> 1986F11

I also regenerated the site.

Copy link
Author

@octref octref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also noticed that running clang-format, as shown in https://github.com/XXIIVV/oscean/pull/64/files#diff-e725440041c6148bb049cdd4cda1fe3f7d7ac60cd1cd9352fecc34242886282cR3-R4, would cause a lot of unnecessary changes. I didn't commit them.

Not sure if that's because I'm running a different clang-format than yours. Mine is clang-format version 10.0.1 on macOS.

links/tw.txt Outdated
@@ -1,154 +1,154 @@
2020-11-27T00:00:00-07:00 Talk at Speakers Series, SNSYC | https://wiki.xxiivv.com/talk
2020-11-25T00:00:00-07:00 Grundlagen der digitalen Kommunikation | https://wiki.xxiivv.com/talk
2020-07-31T01:00:00-07:00 Migrated to Plan9 | https://wiki.xxiivv.com/computer
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why they were 01:00:00 before 🤷‍♂️

<p>To calculate the day of the year, convert the month's letter to a value, starting with 0 for A, multiply by 14 and add the day of the month. For example, J05 is equal to <code>(+ 5 (* 9 14))</code>, or 131.</p>
LINK
ANSI C Library : https://github.com/XXIIVV/oscean/tree/master/src/projects/arvelie
JavaScript Library : https://github.com/octref/arvelie
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope you don't mind including it here.

@neauoire
Copy link
Member

The date is not zero based, but maybe it should. Right now it's 00-13 in this PR, I've been using 01-14, I kindda like the zero base, let me sleep on that.

@neauoire
Copy link
Member

Still working on this..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants