forked from kolplattformen/skolplattformen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Frontpage date tweaks (kolplattformen#582)
* Only the daySummary part (timetable info) should use date for next day or next week. * Restructured test-data * Add test for parsing Microsoft special date json format
- Loading branch information
Showing
14 changed files
with
1,710 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { EtjanstChild, Skola24Child } from "@skolplattformen/api" | ||
|
||
export const children = (): EtjanstChild[] => [ | ||
{ | ||
name: 'Shanel Nilsson (elev)', | ||
id: '39b59e-bf4b9f-f68ac25321-977218-bf0', | ||
sdsId: '8e81a06-53f55fb-d1b93-f0e5b357ad0b7caaf1d36', | ||
status: 'F;GR', | ||
schoolId: '9e58434-8800-da59547-614bf0e-e09c015', | ||
}, | ||
{ | ||
name: 'Alan Nilsson (elev)', | ||
id: 'eea96a-a3e045-caab589391-ed7d17-029', | ||
sdsId: 'bc2d341-8d970cc-69526-43501c082aaa870d9fe99', | ||
status: 'GR', | ||
schoolId: '8e6b13b-3116-e66c39b-a4c3fa5-a1d72d9', | ||
}, | ||
] | ||
export const skola24Children = (): Skola24Child[] => [ | ||
{ | ||
firstName: 'Shanel', | ||
lastName: 'Jonsson Nilsson', | ||
personGuid: 'abc123', | ||
schoolGuid: 'def456', | ||
schoolID: 'Superskolan', | ||
timetableID: 'jkl012', | ||
unitGuid: 'mno345' | ||
}, | ||
] |
Oops, something went wrong.