fix(curriculum): Made `Timestamp Microservice` project tests sort of "timezone aware" (#43939)

pull/44342/head
Timur 2021-12-01 20:17:18 +10:00 committed by GitHub
parent 5b560ed821
commit b34bbe48d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ Build a full stack JavaScript app that is functionally similar to this: <https:/
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
**Note:** Time zones conversion is not a purpose of this project, so assume all sent valid dates will be parsed with `new Date()` as GMT dates.
# --hints--
You should provide your own project, not the example URL.
@ -85,7 +87,7 @@ Your project can handle dates that can be successfully parsed by `new Date(date_
```js
(getUserInput) =>
$.get(getUserInput('url') + '/api/05 October 2011').then(
$.get(getUserInput('url') + '/api/05 October 2011, GMT').then(
(data) => {
assert(
data.unix === 1317772800000 &&