Skip to content

Commit fb287c2

Browse files
committed
* Stringify Date so the user will not need to type fastr than 200ms. Thanks @JuanitoFatas for the catch!
1 parent 304a388 commit fb287c2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spreadsheet/chapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Now let’s set focus on **A1** and _change_ its content to `1`, causing **E1**
4141

4242
![Changed Content](./images/03-changed.png)
4343

44-
Press **ENTER** to set focus to **A2** and change its content to `=Date()`, then press **TAB**, change the content of **B2** to `=alert()`, then press **TAB** again to set focus to `C2`:
44+
Press **ENTER** to set focus to **A2** and change its content to `=''+Date()`, then press **TAB**, change the content of **B2** to `=alert()`, then press **TAB** again to set focus to `C2`:
4545

4646
![Formula Error](./images/04-error.png)
4747

spreadsheet/chapter.zh-tw.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
![已變更的內容](./images/03-changed.png)
4343

44-
**輸入鍵(ENTER)** 以設定焦點至 **A2**,並變更其內容為 `=Date()`,然後按 **跳格鍵(TAB)**,變更 **B2** 的內容為 `=alert()`,然後再按 **跳格鍵** 以移動焦點至 `C2`
44+
**輸入鍵(ENTER)** 以設定焦點至 **A2**,並變更其內容為 `=''+Date()`,然後按 **跳格鍵(TAB)**,變更 **B2** 的內容為 `=alert()`,然後再按 **跳格鍵** 以移動焦點至 `C2`
4545

4646
![公式錯誤](./images/04-error.png)
4747

0 commit comments

Comments
 (0)