You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I just tried exactly that, and couldn't reproduce!

    In the IDE (when in the alarms app and it's not working), please can you try:

    alarms
    // what does this print?
    require("Storage").readJSON("alarm.json"­)
    // what does this print?
    // then
    require("Storage").write("alarm.json",JS­ON.stringify([
      { on: true, hr: 12, last: 14, rp: true },
      { on: true, hr: 13, last: 14, rp: true }
     ]));
    // then 
    require("Storage").readJSON("alarm.json"­)
    // what does this print?
    
About

Avatar for Gordon @Gordon started