Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
MichelJuillard
Periods.jl
Commits
71ffbf3d
Verified
Commit
71ffbf3d
authored
Oct 26, 2020
by
Stéphane Adjemian
Browse files
Fixed typo.
Ordinal value was not consistent across all constructors for Year frequency.
parent
02976493
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SimplePeriods.jl
View file @
71ffbf3d
...
@@ -7,7 +7,7 @@ end
...
@@ -7,7 +7,7 @@ end
function
Period
(
arg1
::
Integer
,
frequency
::
Frequency
)
function
Period
(
arg1
::
Integer
,
frequency
::
Frequency
)
if
frequency
==
Year
if
frequency
==
Year
ordinal
=
arg1
-
19
0
70
ordinal
=
arg1
-
1970
elseif
frequency
==
Undated
elseif
frequency
==
Undated
ordinal
=
arg1
ordinal
=
arg1
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment