腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
增加
规则
上
的
Firebase
时间
戳
日期
firebase
、
flutter
、
google-cloud-firestore
、
firebase-security
嗨,有没有什么方法可以
增加
这个
规则
的
时间
戳
?我期望
的
是在我
增加
了
时间
戳
日期
之后,它将允许我
的
应用程序从数据库中读取数据,直到给定
的
时间
。现在,即使我
增加
了它,应用程序也不会从数据库中读取任何内容 下面是我
的
代码: @override wi
浏览 34
提问于2020-01-17
得票数 1
2
回答
我输入到Firestore数据库
的
所有
日期
都是+1小时。(谷歌修复和
日期
标记问题)
python
、
firebase
、
google-cloud-firestore
为什么
Firebase
在添加
时间
戳
时会
增加
一个小时
的
值?查看Firestore数据库时,键值对time
的
值是2020-01-16T23:00,它是正确
的
日期
时间
,也是我想要存储到数据库
的</
浏览 6
提问于2020-01-16
得票数 0
1
回答
使用“现在”
的
基本安全
时间
规则
firebase
、
firebase-realtime-database
、
firebase-security
我有一个
Firebase
安全
规则
,试图允许写入,如果字段
时间
戳
尚未通过,即应该允许修改,直到
时间
已经超过
时间
戳
数据字段中
的
时间
设置。".write": "root.child('/games/' + $game_id + '/timestamp/').val() > now" }
浏览 3
提问于2017-05-03
得票数 3
回答已采纳
1
回答
如何创建防止用户添加比现在更大
的
日期
的
规则
?
firebase
、
firebase-realtime-database
、
firebase-security
我试图在我
的
实时数据库中添加一条
规则
,以防止用户插入比现在更大
的
日期
。数据库中当前
的
日期
已转换为string。下面是我
的
数据库中
的
一个
日期
示例: 有什么线索可以说明我如何从这里进行验证吗?谢谢 /* Visit https://
fir
浏览 0
提问于2019-04-21
得票数 1
回答已采纳
3
回答
将
日期
对象转换为Fi还原
时间
戳
javascript
、
firebase
、
google-cloud-firestore
我正在尝试将date对象转换为Firestore
时间
戳
。var dateOBJ = new Date(); 这给了我一个错误: Uncaught
时间
戳
将是一个url
的
到期
日期
,所以我需要添加一些
时间
到它。
浏览 0
提问于2018-12-09
得票数 0
回答已采纳
1
回答
如何在
Firebase
中为indexon
时间
戳
设置run?
firebase
、
firebase-realtime-database
、
firebase-security
这是我
的
路径在
Firebase
中
的
样子: /test/minute/we/1399855161.json {"me":1.12182333333,"you":1.12167,"even
浏览 5
提问于2016-09-28
得票数 0
回答已采纳
1
回答
Firestore:当前
日期
小于到期
日期
的
查询子句不适用于执行相同检查
的
规则
javascript
、
firebase
、
google-cloud-firestore
、
firebase-security
我有一个集合elements,其中包含start
日期
(
时间
戳
数据类型)和end
日期
(
时间
戳
数据类型)。如果我想得到所有elements哪个end
日期
比今天更大,我会:
firebase
.firestore().collection('elements').where('end', '>', new Date现在,我想添加一条
规则
,对防火墙进行同样
的
检查
浏览 2
提问于2020-09-09
得票数 0
回答已采纳
1
回答
ListenerService
Firebase
不使用
日期
ios
、
swift
、
firebase
、
google-cloud-firestore
我为我
的
获取和获取数据
的
firebase
条目建立了下一个模型:var text: String } return recordsListener在我
的
ViewController如果我将模型
日期
属性类型从date更改为String,它将开始工作。我怎样才能使它与
日期</
浏览 15
提问于2021-05-12
得票数 0
回答已采纳
1
回答
Android中
的
Firebase
事件脱机和联机日志记录
java
、
android
、
firebase
、
firebase-realtime-database
、
google-cloud-firestore
如果我脱机记录事件,然后将它们大容量发送到
Firebase
,那么事件
日期
是否与发送或日志记录
的
日期
相同?
浏览 3
提问于2020-01-21
得票数 1
回答已采纳
1
回答
事件
日期
在使用防火墙时格式不正确。
google-cloud-firestore
、
react-big-calendar
在我
的
项目中,我将发送一个开始
日期
、结束
日期
和标题到云防火墙,并在我
的
react应用程序中正确地接收它。如何将事件从防火墙解析到react大日历? events: [] const newEvents = []; events: newEvents });
浏览 0
提问于2018-11-01
得票数 1
回答已采纳
1
回答
使用
firebase
函数向防火墙发送
时间
戳
ios
、
swift
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
我需要保存一个
日期
,使用
firebase
函数将一个具有
Firebase
时间
戳
的
对象保存到。不识别抛出错误
的
时间
戳
格式: 如果我试图按下面的格式发送
日期
--它有效,但服务器
上
的<
浏览 3
提问于2021-10-03
得票数 0
回答已采纳
1
回答
为什么我
的
JavaScript
日期
/
时间
对象存储为映射,而不是云图中
的
时间
戳
?
javascript
、
firebase
、
datetime
、
google-cloud-firestore
附上
的
图片是一个截图
的
两个“
日期
/
时间
”
的
条目在我
的
斐济文档。 timeCompleted是我在数据库中直接输入
的
值,它选择“
时间
戳
”作为字段
的
类型。根据屏幕截图,您可以知道
日期
/
时间
以可读
的
格式显示(这对我并不重要)。+ myTime))
增加
的
价值。与作为
时间
戳
浏览 0
提问于2019-07-16
得票数 0
回答已采纳
1
回答
如何处理Firestore
上
的
日期
?
javascript
、
firebase
、
date
、
google-cloud-firestore
据我所知,当你存储一个
日期
:您正在本地时区中存储
日期
对象。但是,当我稍后从Firestore中读取此
日期
时,我使用:这给出了UTC
的
日期
,而不是本地时区。这是预期
的
行为吗?我理解得对吗?在本地
时间
检索
日期
似乎更有意义,因为您存储
的
日
浏览 1
提问于2021-05-31
得票数 0
回答已采纳
2
回答
TypeError:(中间值).toDate不是函数
json
、
reactjs
、
firebase
、
google-cloud-firestore
、
timestamp
我试图从我
的
消防局集合中显示一个
时间
戳
值,但是我得到了一个错误"TypeError:(中间值).toDate不是一个函数“,在这里,我用下面的">>”标记。在将它提交到消防局之前,我把它作为一个
时间
戳
,但是现在为了显示它,我需要它作为
日期
值,您有什么解决方案吗?
浏览 3
提问于2020-09-27
得票数 0
回答已采纳
3
回答
如何将数据添加到
Firebase
?
ios
、
swift
、
firebase
、
firebase-realtime-database
我
的
目标是每天向
Firebase
中
的
全局变量添加+1,以跟踪已经过去了多少天。我正在构建一个每天提供新事实
的
应用程序,在19:00 UTC
时间
标记上,我希望case语句号(日全局
日期
变量)
增加
+1。有些人建议我比较两个
日期
,得到过去
的
日子。如果我要这样做,我可以硬编码最初
的
时间
,当我第一次希望应用程序开始于19:00
的
某一天。然后,在以后每天调用函数reached1900UTC()
浏览 5
提问于2016-10-12
得票数 1
回答已采纳
1
回答
com.
firebase
.client.FirebaseException:未能使用类java.util.Date android解析节点
android
、
firebase
、
firebase-realtime-database
我正在尝试从Android更新一个
Firebase
对象。其中一个字段是Date。简单
的
事物,如: at com.
firebase
.cli
浏览 1
提问于2015-12-30
得票数 1
回答已采纳
2
回答
在颤动应用程序中,防止在截止
日期
后将数据插入
Firebase
firebase
、
flutter
、
google-cloud-firestore
、
google-cloud-functions
在我
的
flutter应用程序中,我想阻止用户在截止
日期
之后输入他们
的
提名。 例如,有一个截止
日期
为2020年3月31日
的
考试提名。我正在将我
的
flutter应用程序
的
提名数据插入到
Firebase
数据库中。在app中,我检查当前
日期
应该在3月31日之前,然后只允许输入数据。然而,如果用户将移动数据更改为向后,应用程序将允许输入考试
的
提名。 我知道如果我编写
Firebase
云函数并将我
的</e
浏览 16
提问于2020-01-25
得票数 0
回答已采纳
1
回答
如何验证
Firebase
本身中
的
服务器
时间
戳
小于某个值?
javascript
、
json
、
firebase
、
firebase-security
我需要帮助处理这个
Firebase
规则
,我有一个存储
时间
戳
的
子程序而且,当服务器
时间
戳
小于存储在
日期
->date子节点
上
的
时间
戳
时,我只需要允许写入到防火墙
的
另一个位置。我不知道如何在写入或验证中这样做,也不知道如何让
规则
读取
Firebase
本身中
的
某些值。UPDATE 2我成功地编写了一个可
浏览 1
提问于2015-12-07
得票数 1
回答已采纳
1
回答
Firestore Timestamp.fromDate非UTC
javascript
、
angular
、
datetime
、
google-cloud-firestore
谁知道如何在Firestore中持久化UTC
时间
戳
?在我
的
Angular应用程序中,如果我将今天
的
日期
转换为如下所示
的
时间
戳
,并在Firestore数据库中得到一个UTC+2 (现在是瑞士
的
夏季
时间
)
日期
import {
firebase
} from '(new Date()); 例如,如果我尝试从冬季
时间
转换
日期
,结果数据库中
浏览 15
提问于2019-04-17
得票数 2
回答已采纳
1
回答
离子火基无限涡旋阶
ionic-framework
、
firebase
、
firebase-util
我似乎没办法把我
的
火柴卷轴订好。我在
Firebase
有一些帖子,我想让Firbase把我
的
帖子从最近
的
到最老
的
。然而,它所做
的
恰恰相反。这些帖子正从最老
的
分类到更新
的
。var ref = new
Firebase
("https://feburl");// create a scrollable
浏览 3
提问于2016-05-17
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
我们弃用 Firebase了
python学习内建模块
谷歌今天更新了Firebase
第八章 Http服务与数据库
Jmeter 如何把时间戳转为本地时间
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券