Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
eraser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenLicht
eraser
Commits
62068002
Commit
62068002
authored
6 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Print/format dates in UTC.
parent
6ae12355
No related branches found
No related tags found
1 merge request
!1
Fixing CI
Pipeline
#2352
passed with warnings
6 years ago
Stage: build
Stage: test
Stage: report
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
eraser-base/src/main/jastadd/Item.jrag
+3
-1
3 additions, 1 deletion
eraser-base/src/main/jastadd/Item.jrag
eraser-base/src/test/resources/tests/ppc3/output.eraser
+1
-1
1 addition, 1 deletion
eraser-base/src/test/resources/tests/ppc3/output.eraser
with
4 additions
and
2 deletions
eraser-base/src/main/jastadd/Item.jrag
+
3
−
1
View file @
62068002
aspect ItemHandling {
private static final java.text.DateFormat DateTimeItem.FORMAT = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
private static final java.text.DateFormat DateTimeItem.FORMAT = new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS") {{
setTimeZone(TimeZone.getTimeZone("UTC"));
}};
//--- getStateAsString ---
syn String Item.getStateAsString();
...
...
This diff is collapsed.
Click to expand it.
eraser-base/src/test/resources/tests/ppc3/output.eraser
+
1
−
1
View file @
62068002
...
...
@@ -2,7 +2,7 @@ Color Item: id="color1" label="a Color Item" state="1,2,3" topic="item/hsb/color
Contact Item: id="contact1" label="a Contact Item" state="true" topic="item/bool/contact1/state" ;
Image Item: id="image1" label="an Image Item" state="def" topic="item/str/image1/state" ;
Location Item: id="location1" label="a Location Item" state="ghi" topic="item/str/location1/state" ;
DateTime Item: id="datetime1" label="a DateTime Item" state="1970-01-18T2
1
:43:35.826
+01:00
" topic="item/date/datetime1/state" ;
DateTime Item: id="datetime1" label="a DateTime Item" state="1970-01-18T2
0
:43:35.826" topic="item/date/datetime1/state" ;
Item: id="default1" label="a Default Item" state="pqr" topic="item/str/default1/state" ;
Dimmer Item: id="dimmer1" label="a Dimmer Item" state="123.0" topic="item/double/dimmer1/state" ;
Player Item: id="player1" label="a Player Item" state="jkl" topic="item/str/player1/state" ;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment