Skip to content

Commit

Permalink
feat: use Holocene calendar instead of Anno Domini
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed May 4, 2024
1 parent 4e8eecd commit a4877a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/semver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function UpdateDateVersion(Version: string) {

// Check if the date is updated and change.
if ((CurrentVersion.major !== Now.year) || (CurrentVersion.minor.toString() !== GetDaysAfterNewYear(Now).toString())) {
NewVersion += `${Now.year}.`
NewVersion += `1${Now.year}.`
NewVersion += `${GetDaysAfterNewYear(Now)}.`
NewVersion += '0'
} else {
Expand Down

0 comments on commit a4877a5

Please sign in to comment.