Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
0d47f513
Commit
0d47f513
authored
Dec 12, 2012
by
Mark Côté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't prepend 'Q' with %q specifier, but keep the 'Q' for default formatting.
parent
f4b82f62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
jquery.flot.time.js
jquery.flot.time.js
+3
-3
No files found.
jquery.flot.time.js
View file @
0d47f513
...
...
@@ -73,7 +73,7 @@ API.txt for details.
case
'M'
:
c
=
leftPad
(
d
.
getMinutes
());
break
;
// quarters not in Open Group's strftime specification
case
'q'
:
c
=
"Q
"
+
(
Math
.
floor
(
d
.
getMonth
()
/
3
)
+
1
);
break
;
c
=
"
"
+
(
Math
.
floor
(
d
.
getMonth
()
/
3
)
+
1
);
break
;
case
'S'
:
c
=
leftPad
(
d
.
getSeconds
());
break
;
case
'y'
:
c
=
leftPad
(
d
.
getFullYear
()
%
100
);
break
;
case
'Y'
:
c
=
""
+
d
.
getFullYear
();
break
;
...
...
@@ -384,9 +384,9 @@ API.txt for details.
}
}
else
if
(
useQuarters
&&
t
<
timeUnitSize
.
year
)
{
if
(
span
<
timeUnitSize
.
year
)
{
fmt
=
"%q"
;
fmt
=
"
Q
%q"
;
}
else
{
fmt
=
"%q %Y"
;
fmt
=
"
Q
%q %Y"
;
}
}
else
{
fmt
=
"%Y"
;
...
...
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